Crashes in debug. This must not happen.
authorbuff <andreas@pep-project.org>
Fri, 02 Aug 2019 18:48:46 +0200
changeset 95361f84134b02d9
parent 9532 9c3bc9a5e83c
child 9537 af29a463758f
child 9538 ed541a9548f3
child 9542 7ed0e1cb0ec0
child 9544 f91483e3e50c
Crashes in debug. This must not happen.
pEpForiOS/AppDelegate.swift
     1.1 --- a/pEpForiOS/AppDelegate.swift	Mon Aug 05 11:36:35 2019 +0200
     1.2 +++ b/pEpForiOS/AppDelegate.swift	Fri Aug 02 18:48:46 2019 +0200
     1.3 @@ -80,9 +80,8 @@
     1.4      private func gracefullyShutdownServices() {
     1.5          guard syncUserActionsAndCleanupbackgroundTaskId == UIBackgroundTaskIdentifier.invalid
     1.6              else {
     1.7 -                Log.shared.warn(
     1.8 -                    "Will not start background sync, pending %d",
     1.9 -                    syncUserActionsAndCleanupbackgroundTaskId.rawValue)
    1.10 +                Log.shared.errorAndCrash("Will not start background sync, pending %d",
    1.11 +                                         syncUserActionsAndCleanupbackgroundTaskId.rawValue)
    1.12                  return
    1.13          }
    1.14          syncUserActionsAndCleanupbackgroundTaskId =