reset logging when socket is deinit
This commit is contained in:
parent
76375bbcf3
commit
c26adae13c
@ -109,6 +109,7 @@ public final class SocketIOClient: NSObject, SocketEngineClient {
|
|||||||
|
|
||||||
deinit {
|
deinit {
|
||||||
DefaultSocketLogger.Logger.log("Client is being deinit", type: logType)
|
DefaultSocketLogger.Logger.log("Client is being deinit", type: logType)
|
||||||
|
DefaultSocketLogger.Logger.log = false
|
||||||
engine?.close()
|
engine?.close()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user