RealReachability
RealReachability copied to clipboard
Crash on PingFoundation dealloc
根據文檔,或許我們不應該在 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)
...
在iOS16上会崩溃,和https://github.com/robbiehanson/CocoaAsyncSocket/issues/803 这个类似
@xiaoshaogg 請問是指 https://github.com/dustturtle/RealReachability/pull/139 這個 PR 會在 iOS16 上崩潰嗎?