TunnelsManager: Remove assert

Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
Roopesh Chander 2018-12-13 23:42:50 +05:30
parent 154774ada2
commit 33af8845b6
1 changed files with 0 additions and 1 deletions

View File

@ -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)
}