TunnelsManager: Remove assert

This commit is contained in:
Roopesh Chander 2018-12-13 23:42:50 +05:30
parent d7f91f2888
commit 738b2dba52
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)
}