diff options
| author | Bug Magnet <marco.nikic@mullvad.net> | 2024-04-26 16:01:33 +0200 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2024-04-30 10:48:28 +0200 |
| commit | f96945134c6a1128d2c961dc01afc33f93cfdee4 (patch) | |
| tree | e62c9e3e57cb79f4a7b3335e27620014c11223b5 | |
| parent | ea344c2d14d7396e550840737f3328e08d3fda45 (diff) | |
| download | mullvadvpn-f96945134c6a1128d2c961dc01afc33f93cfdee4.tar.xz mullvadvpn-f96945134c6a1128d2c961dc01afc33f93cfdee4.zip | |
Remove dead code
| -rw-r--r-- | ios/MullvadVPN/TunnelManager/TunnelManager.swift | 10 |
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) |
