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:
Roopesh Chander
2018-11-03 18:58:24 +05:30
parent 538704e7bd
commit 7c4992894b
@@ -415,6 +415,7 @@ class TunnelContainer: NSObject {
}
if (s.status == .resolvingEndpointDomains && connection.status == .disconnected) {
// Don't change to .inactive if we're still resolving endpoints
assert(false)
return
}
s.status = TunnelStatus(from: connection.status)