summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2022-11-08 17:24:32 +0100
committerAndrej Mihajlov <and@mullvad.net>2022-11-09 13:56:44 +0100
commitfcc639078249f8da58c48e2cb3c261dd8a754c84 (patch)
tree1c62114b50ccecfc8d686e33a2840d75bce9be23
parent86ac3d51ff50e3a36daf48d926e8952f0fa8610b (diff)
downloadmullvadvpn-fcc639078249f8da58c48e2cb3c261dd8a754c84.tar.xz
mullvadvpn-fcc639078249f8da58c48e2cb3c261dd8a754c84.zip
Remove unnecessary .unlock()
-rw-r--r--ios/MullvadVPN/TunnelManager/TunnelManager.swift2
1 files changed, 0 insertions, 2 deletions
diff --git a/ios/MullvadVPN/TunnelManager/TunnelManager.swift b/ios/MullvadVPN/TunnelManager/TunnelManager.swift
index 221ef33655..9bdc4ec8e9 100644
--- a/ios/MullvadVPN/TunnelManager/TunnelManager.swift
+++ b/ios/MullvadVPN/TunnelManager/TunnelManager.swift
@@ -111,8 +111,6 @@ final class TunnelManager: StorePaymentObserver {
isRunningPeriodicPrivateKeyRotation = true
updatePrivateKeyRotationTimer()
-
- nslock.unlock()
}
func stopPeriodicPrivateKeyRotation() {