TunnelsManager: Remove assert
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
154774ada2
commit
33af8845b6
|
@ -265,7 +265,6 @@ class TunnelsManager {
|
|||
if let tunnelInOperation = tunnels.first(where: { $0.status != .inactive }) {
|
||||
wg_log(.info, message: "Tunnel '\(tunnel.name)' waiting for deactivation of '\(tunnelInOperation.name)'")
|
||||
tunnel.status = .waiting
|
||||
assert(tunnelInOperation.status != .inactive)
|
||||
if tunnelInOperation.status != .deactivating {
|
||||
startDeactivation(of: tunnelInOperation)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue