This commit is contained in:
Erik 2016-10-01 10:20:13 -04:00
parent fee53e0ccf
commit a32f2d34f0
No known key found for this signature in database
GPG Key ID: 4930B7C5FBC1A69D

View File

@ -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