VPN: We should never get a status change to .disconnected if we're resolving endpoints
But we do, which we'll fix subsequently
This commit is contained in:
parent
395e6fcdda
commit
6fd9e7f53a
|
@ -415,6 +415,7 @@ class TunnelContainer: NSObject {
|
||||||
}
|
}
|
||||||
if (s.status == .resolvingEndpointDomains && connection.status == .disconnected) {
|
if (s.status == .resolvingEndpointDomains && connection.status == .disconnected) {
|
||||||
// Don't change to .inactive if we're still resolving endpoints
|
// Don't change to .inactive if we're still resolving endpoints
|
||||||
|
assert(false)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
s.status = TunnelStatus(from: connection.status)
|
s.status = TunnelStatus(from: connection.status)
|
||||||
|
|
Loading…
Reference in New Issue