diff options
Diffstat (limited to 'ios')
| -rw-r--r-- | ios/MullvadVPN/TunnelManager/TunnelManager.swift | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ios/MullvadVPN/TunnelManager/TunnelManager.swift b/ios/MullvadVPN/TunnelManager/TunnelManager.swift index 96cf744505..0ec7843ab0 100644 --- a/ios/MullvadVPN/TunnelManager/TunnelManager.swift +++ b/ios/MullvadVPN/TunnelManager/TunnelManager.swift @@ -48,6 +48,9 @@ class TunnelManager: TunnelManagerStateDelegate private let state: TunnelManager.State + private var privateKeyRotationTimer: DispatchSourceTimer? + private var isRunningPeriodicPrivateKeyRotation = false + var tunnelInfo: TunnelInfo? { return state.tunnelInfo } @@ -71,9 +74,6 @@ class TunnelManager: TunnelManagerStateDelegate // MARK: - Periodic private key rotation - private var privateKeyRotationTimer: DispatchSourceTimer? - private var isRunningPeriodicPrivateKeyRotation = false - func startPeriodicPrivateKeyRotation() { stateQueue.async { guard !self.isRunningPeriodicPrivateKeyRotation else { return } |
