Skip to content

Commit

Permalink
Add back error completion handler call
Browse files Browse the repository at this point in the history
  • Loading branch information
buggmagnet committed Jan 23, 2025
1 parent 29e3d4b commit 9f2382b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions ios/MullvadVPN/TunnelManager/TunnelManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -485,12 +485,15 @@ final class TunnelManager: StorePaymentObserver, @unchecked Sendable {
operation.completionQueue = .main
operation.completionHandler = { [weak self] result in
guard let self else { return }
MainActor.assumeIsolated {
self.updatePrivateKeyRotationTimer()

updatePrivateKeyRotationTimer()
let error = result.error
if let error {
self.handleRestError(error)
}

let error = result.error
if let error {
handleRestError(error)
completionHandler(error)
}
}

Expand Down

0 comments on commit 9f2382b

Please sign in to comment.