aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-12-13 23:42:50 +0530
committerRoopesh Chander <roop@roopc.net>2018-12-13 23:43:15 +0530
commit33af8845b67be5af3c658284ce489dd70781d822 (patch)
tree9585996559177a70880da546bd04e85e9e5ad712
parentSimplify C strings (diff)
downloadwireguard-apple-33af8845b67be5af3c658284ce489dd70781d822.tar.xz
wireguard-apple-33af8845b67be5af3c658284ce489dd70781d822.zip
TunnelsManager: Remove assert
Signed-off-by: Roopesh Chander <roop@roopc.net>
-rw-r--r--WireGuard/WireGuard/Tunnel/TunnelsManager.swift1
1 files changed, 0 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/Tunnel/TunnelsManager.swift b/WireGuard/WireGuard/Tunnel/TunnelsManager.swift
index 25d894b0..2a4b3da8 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)
}