Open mykoma opened 7 years ago
I have the same crash
I fixed the crash on my fork (with extra refactoring and design changes), the real issue was the ability to initialize multiple connections when calling [socket connect] a few times on a disconnected socket (created state marked asynchronously).
I have met a crash at
The Line
[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]];
always crash when I create many socket in a short time. Maybe there is a third sdk conflict with these above code.And I spent half day to fix this problem , and finally I find a way to avoid this bug. The code is:
I am not sure why this crash happend, neither not sure why my fix can works.
But I think should let you know this issue.