VPN: We have to start observing the tunnelContainer before we attempt to activate it
This commit is contained in:
parent
fd30ce0e0d
commit
c681b02f7d
|
@ -234,8 +234,8 @@ class TunnelsManager {
|
|||
completionHandler(TunnelActivationError.attemptingActivationWhenAnotherTunnelIsActive)
|
||||
return
|
||||
}
|
||||
tunnel.startActivation(completionHandler: completionHandler)
|
||||
setCurrentTunnel(tunnel: tunnel)
|
||||
tunnel.startActivation(completionHandler: completionHandler)
|
||||
}
|
||||
|
||||
func startDeactivation(of tunnel: TunnelContainer, completionHandler: @escaping (Error?) -> Void) {
|
||||
|
|
Loading…
Reference in New Issue