VPN: We should never get a status change to .disconnected if we're resolving endpoints
But we do, which we'll fix subsequently Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user