diff --git a/MacPass/MPAppDelegate.m b/MacPass/MPAppDelegate.m index dc1d2f30..9b9d329f 100644 --- a/MacPass/MPAppDelegate.m +++ b/MacPass/MPAppDelegate.m @@ -155,7 +155,7 @@ NSString *const MPDidChangeStoredKeyFilesSettings = @"com.hicknhack.macpass.MPDi - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender { if([[MPTemporaryFileStorageCenter defaultCenter] hasPendingStorages]) { dispatch_async(dispatch_get_main_queue(), ^{ - [[MPTemporaryFileStorageCenter defaultCenter] cleanupStorages]; + [MPTemporaryFileStorageCenter.defaultCenter cleanupStorages]; [sender replyToApplicationShouldTerminate:YES]; }); return NSTerminateLater;