Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDNetConnect.m 里的socket是否应该每次使用后Invalidate #36

Open
WallfacerMajor opened this issue Aug 2, 2019 · 1 comment

Comments

@WallfacerMajor
Copy link

发现LDNetPing里的- (void)runWithHostName:(NSString *)hostName normalPing:(BOOL)normalPing方法有时候会因为runloop陷入msg_trap状态且不被事件唤醒,观察到LDSimplePing的socket事件是Invalidate了的,在LDNetConnect.m添加Invalidate逻辑后,
runloop能够正常退出了

@WolfAloneLJ
Copy link

发现LDNetPing里的- (void)runWithHostName:(NSString *)hostName normalPing:(BOOL)normalPing方法有时候会因为runloop陷入msg_trap状态且不被事件唤醒,观察到LDSimplePing的socket事件是Invalidate了的,在LDNetConnect.m添加Invalidate逻辑后,
runloop能够正常退出了

你咋改的呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants