From 33af8845b67be5af3c658284ce489dd70781d822 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Thu, 13 Dec 2018 23:42:50 +0530 Subject: TunnelsManager: Remove assert Signed-off-by: Roopesh Chander --- WireGuard/WireGuard/Tunnel/TunnelsManager.swift | 1 - 1 file changed, 1 deletion(-) 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) } -- cgit v1.2.3-59-g8ed1b