VPN: We have to start observing the tunnelContainer before we attempt to activate it
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user