Fix #521
This commit is contained in:
parent
fee53e0ccf
commit
a32f2d34f0
@ -253,7 +253,9 @@ public final class SocketIOClient : NSObject, SocketEngineClient, SocketParsable
|
||||
}
|
||||
|
||||
public func engineDidClose(reason: String) {
|
||||
waitingPackets.removeAll()
|
||||
parseQueue.sync {
|
||||
self.waitingPackets.removeAll()
|
||||
}
|
||||
|
||||
if status != .disconnected {
|
||||
status = .notConnected
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user