From 738b2dba5208781debd9e60e7ca550f325119abd Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Thu, 13 Dec 2018 23:42:50 +0530 Subject: [PATCH] TunnelsManager: Remove assert --- 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) }