Change to only suspend on application termination.
This commit is contained in:
parent
c65ccb0504
commit
33c487de85
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue