mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-01-19 06:49:08 +00:00
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) {
|
||||
// Don't change to .inactive if we're still resolving endpoints
|
||||
assert(false)
|
||||
return
|
||||
}
|
||||
s.status = TunnelStatus(from: connection.status)
|
||||
|
Loading…
Reference in New Issue
Block a user