Skip to content

Crash on PingFoundation dealloc #138

Description

@ohlulu

根據文檔,或許我們不應該在 PingFoundation dealloc 時調用 [self stop]

Crash call stack:

Crashed: SearchSerialQueue (QOS: UNSPECIFIED)
0  CFNetwork                      0xca530 CFHostUnscheduleFromRunLoop + 60
1  RealReachability               0xa230 -[PingFoundation stopHostResolution] + 800 (PingFoundation.m:800)
2  RealReachability               0xa2d0 -[PingFoundation stop] + 816 (PingFoundation.m:816)
3  RealReachability               0x8d0c -[PingFoundation dealloc] + 188 (PingFoundation.m:188)
4  RealReachability               0xa990 -[PingHelper setHost:] + 116 (PingHelper.m:116)

...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions