summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBug Magnet <marco.nikic@mullvad.net>2024-04-30 10:49:40 +0200
committerBug Magnet <marco.nikic@mullvad.net>2024-04-30 10:49:40 +0200
commitd9e8e577961ad6b790809383b610d1d7c8157d59 (patch)
treee62c9e3e57cb79f4a7b3335e27620014c11223b5
parentea344c2d14d7396e550840737f3328e08d3fda45 (diff)
parentf96945134c6a1128d2c961dc01afc33f93cfdee4 (diff)
downloadmullvadvpn-d9e8e577961ad6b790809383b610d1d7c8157d59.tar.xz
mullvadvpn-d9e8e577961ad6b790809383b610d1d7c8157d59.zip
Merge branch 'remove-dead-code'
-rw-r--r--ios/MullvadVPN/TunnelManager/TunnelManager.swift10
1 files changed, 0 insertions, 10 deletions
diff --git a/ios/MullvadVPN/TunnelManager/TunnelManager.swift b/ios/MullvadVPN/TunnelManager/TunnelManager.swift
index cc4ce36da6..fe989a790c 100644
--- a/ios/MullvadVPN/TunnelManager/TunnelManager.swift
+++ b/ios/MullvadVPN/TunnelManager/TunnelManager.swift
@@ -1045,16 +1045,6 @@ final class TunnelManager: StorePaymentObserver {
isPolling = false
}
- private func cancelPollingKeyRotation() {
- guard isRunningPeriodicPrivateKeyRotation else { return }
-
- logger.debug("Cancel key rotation polling.")
-
- privateKeyRotationTimer?.cancel()
- privateKeyRotationTimer = nil
- isRunningPeriodicPrivateKeyRotation = false
- }
-
fileprivate func removeLastUsedAccount() {
do {
try SettingsManager.setLastUsedAccount(nil)