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) {
|
public func sessionDidStop(_: SessionProxy, shouldReconnect: Bool) {
|
||||||
log.info("Session did stop")
|
log.info("Session did stop")
|
||||||
|
|
||||||
if shouldReconnect {
|
reasserting = shouldReconnect
|
||||||
reasserting = true
|
|
||||||
}
|
|
||||||
socket?.shutdown()
|
socket?.shutdown()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue