From a5c065fcb93433af4f77f79e248af4a01bada170 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sat, 27 Apr 2019 13:59:57 -0500 Subject: [PATCH] Add debug statement for OS killing the process when it runs too long. --- iOS/AppDelegate.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/iOS/AppDelegate.swift b/iOS/AppDelegate.swift index d431fb41f..d586b218e 100644 --- a/iOS/AppDelegate.swift +++ b/iOS/AppDelegate.swift @@ -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) {