Reset reasserting flag on plain shutdown
This commit is contained in:
parent
e3b8a6b16b
commit
70ed2a4d83
|
@ -456,9 +456,7 @@ extension TunnelKitProvider: SessionProxyDelegate {
|
|||
public func sessionDidStop(_: SessionProxy, shouldReconnect: Bool) {
|
||||
log.info("Session did stop")
|
||||
|
||||
if shouldReconnect {
|
||||
reasserting = true
|
||||
}
|
||||
reasserting = shouldReconnect
|
||||
socket?.shutdown()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue