浏览代码

more debug

B. Petersen 3 年之前
父节点
当前提交
702c0037c4
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      deltachat-ios/AppDelegate.swift

+ 2 - 0
deltachat-ios/AppDelegate.swift

@@ -190,6 +190,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
     // MARK: - app lifecycle
 
     func applicationWillEnterForeground(_: UIApplication) {
+        self.pushToDebugArray("➡️")
         logger.info("➡️ applicationWillEnterForeground")
         dcAccounts.startIo()
 
@@ -225,6 +226,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
     }
 
     func applicationWillTerminate(_: UIApplication) {
+        self.pushToDebugArray("⬅️T")
         logger.info("⬅️ applicationWillTerminate")
         dcAccounts.closeDatabase()
         reachability.stopNotifier()