mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Avoid spurious crash reporting
This commit is contained in:
parent
2c344f6a5b
commit
7aad3a9e7a
|
@ -311,7 +311,8 @@ static NSTimeInterval launchStartedAt;
|
||||||
[[UIApplication sharedApplication] scheduleLocalNotification:notification];
|
[[UIApplication sharedApplication] scheduleLocalNotification:notification];
|
||||||
[UIApplication.sharedApplication setApplicationIconBadgeNumber:1];
|
[UIApplication.sharedApplication setApplicationIconBadgeNumber:1];
|
||||||
|
|
||||||
OWSFail(@"!isDatabasePasswordAccessible.");
|
[DDLog flushLog];
|
||||||
|
exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -142,7 +142,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||||
[self clearAllNotifications];
|
[self clearAllNotifications];
|
||||||
|
|
||||||
[DebugLogger.sharedLogger wipeLogs];
|
[DebugLogger.sharedLogger wipeLogs];
|
||||||
OWSFail(@"App data reset.");
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (void)clearAllNotifications
|
+ (void)clearAllNotifications
|
||||||
|
|
Loading…
Reference in a new issue