]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
TunnelsManager: Remove assert
authorRoopesh Chander <roop@roopc.net>
Thu, 13 Dec 2018 18:12:50 +0000 (23:42 +0530)
committerRoopesh Chander <roop@roopc.net>
Thu, 13 Dec 2018 18:13:15 +0000 (23:43 +0530)
Signed-off-by: Roopesh Chander <roop@roopc.net>
WireGuard/WireGuard/Tunnel/TunnelsManager.swift

index 25d894b08ed7202b7fc6ee8f98888d82baddfc6c..2a4b3da868219930517a61c36ff9e1c9fde1bc0b 100644 (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)
             }