From 03456ecf76dc37339a50cf2beb33cdbc44edf02f Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Tue, 21 May 2019 15:20:56 -0400 Subject: [PATCH] Clean up orphans. --- Signal/src/environment/SignalApp.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Signal/src/environment/SignalApp.m b/Signal/src/environment/SignalApp.m index ba69fc2338..212e07ff56 100644 --- a/Signal/src/environment/SignalApp.m +++ b/Signal/src/environment/SignalApp.m @@ -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);