Merge branch 'ios-candidate'

This commit is contained in:
Maurice Parker
2022-03-01 14:46:51 -06:00

View File

@@ -408,11 +408,11 @@ private extension AppDelegate {
// set expiration handler
task.expirationHandler = { [weak task] in
os_log("Accounts refresh processing terminated for running too long.", log: self.log, type: .info)
DispatchQueue.main.sync {
self.suspendApplication()
task?.setTaskCompleted(success: false)
}
os_log("Accounts refresh processing terminated for running too long.", log: self.log, type: .info)
task?.setTaskCompleted(success: false)
}
}