Add debug statement for OS killing the process when it runs too long.

This commit is contained in:
Maurice Parker 2019-04-27 13:59:57 -05:00
parent 9400ea361e
commit a5c065fcb9
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDele
self.backgroundUpdateTask = UIApplication.shared.beginBackgroundTask {
completeProcessing()
os_log("Accounts refresh processing terminated for running too long.", log: self.log, type: .info)
}
while(!AccountManager.shared.unreadCountsInitialized) {