diff options
author | Roopesh Chander <roop@roopc.net> | 2018-12-13 23:42:50 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2018-12-13 23:43:15 +0530 |
commit | 33af8845b67be5af3c658284ce489dd70781d822 (patch) | |
tree | 9585996559177a70880da546bd04e85e9e5ad712 /WireGuard/WireGuard | |
parent | Simplify C strings (diff) | |
download | wireguard-apple-33af8845b67be5af3c658284ce489dd70781d822.tar.xz wireguard-apple-33af8845b67be5af3c658284ce489dd70781d822.zip |
TunnelsManager: Remove assert
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard')
-rw-r--r-- | WireGuard/WireGuard/Tunnel/TunnelsManager.swift | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/Tunnel/TunnelsManager.swift b/WireGuard/WireGuard/Tunnel/TunnelsManager.swift index 25d894b..2a4b3da 100644 --- a/WireGuard/WireGuard/Tunnel/TunnelsManager.swift +++ b/WireGuard/WireGuard/Tunnel/TunnelsManager.swift @@ -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) } |