Change to only suspend on application termination.

This commit is contained in:
Maurice Parker 2019-12-01 13:28:11 -06:00
parent c65ccb0504
commit 33c487de85
1 changed files with 0 additions and 1 deletions

View File

@ -218,7 +218,6 @@ private extension AppDelegate {
func waitForProgressToFinish() { func waitForProgressToFinish() {
let completeProcessing = { [unowned self] in let completeProcessing = { [unowned self] in
AccountManager.shared.suspendAll()
UIApplication.shared.endBackgroundTask(self.waitBackgroundUpdateTask) UIApplication.shared.endBackgroundTask(self.waitBackgroundUpdateTask)
self.waitBackgroundUpdateTask = UIBackgroundTaskIdentifier.invalid self.waitBackgroundUpdateTask = UIBackgroundTaskIdentifier.invalid
} }