Clean up orphans.

This commit is contained in:
Matthew Chen 2019-05-21 15:20:56 -04:00
parent b57ebb05d4
commit 03456ecf76

View File

@ -172,6 +172,8 @@ NS_ASSUME_NONNULL_BEGIN
[AppEnvironment.shared.notificationPresenter clearAllNotifications];
[OWSFileSystem deleteContentsOfDirectory:[OWSFileSystem appSharedDataDirectoryPath]];
[OWSFileSystem deleteContentsOfDirectory:[OWSFileSystem appDocumentDirectoryPath]];
[OWSFileSystem deleteContentsOfDirectory:[OWSFileSystem cachesDirectoryPath]];
[OWSFileSystem deleteContentsOfDirectory:OWSTemporaryDirectory()];
[DebugLogger.sharedLogger wipeLogs];
exit(0);