Skip to content

Commit

Permalink
Merge branch 'crash-after-deleting-an-account-ios-305'
Browse files Browse the repository at this point in the history
  • Loading branch information
buggmagnet committed Sep 11, 2023
2 parents 1fc524e + 125e634 commit 4fd693b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ios/MullvadVPN/TunnelManager/TunnelManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,9 @@ final class TunnelManager: StorePaymentObserver {
self?.operationQueue.cancelAllOperations()
self?.wipeAllUserData()
self?.setDeviceState(.loggedOut, persist: true)
completion?(nil)
DispatchQueue.main.async {
completion?(nil)
}
}
case let .failure(error):
completion?(error)
Expand Down

0 comments on commit 4fd693b

Please sign in to comment.