reset logging when socket is deinit

This commit is contained in:
Erik 2015-11-17 13:29:14 -05:00
parent 76375bbcf3
commit c26adae13c

View File

@ -109,6 +109,7 @@ public final class SocketIOClient: NSObject, SocketEngineClient {
deinit {
DefaultSocketLogger.Logger.log("Client is being deinit", type: logType)
DefaultSocketLogger.Logger.log = false
engine?.close()
}