remove old check

This commit is contained in:
Erik 2015-09-03 12:27:24 -04:00
parent 2ae994a031
commit 0ff4cb9713

View File

@ -440,11 +440,6 @@ public final class SocketEngine: NSObject, WebSocketDelegate, SocketLogClient {
waitingForPoll = false
waitingForPost = false
// If cancelled we were already closing
if client == nil || reason == "cancelled" {
return
}
if !closed {
client?.didError(reason)
client?.engineDidClose(reason)