X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=ApplicationController.m;fp=ApplicationController.m;h=2b122b6298755bb11dc87bf90c77ad1452efdbcc;hp=8fed5d61f3d047ce6d46586f86e7ba41811a47ed;hb=4ce3f2876a51400f7e3baa213bd23ecd0101398a;hpb=ada313d7e31dd509c8c7be01f364c9a2ad9860d4 diff --git a/ApplicationController.m b/ApplicationController.m index 8fed5d6..2b122b6 100644 --- a/ApplicationController.m +++ b/ApplicationController.m @@ -39,9 +39,7 @@ } - (void)applicationWillTerminate:(NSNotification *)aNotification { - // TODO: Save immediately / shortly after changing and then enable - // sudden termination support. - [configsController save]; + [[NSUserDefaults standardUserDefaults] synchronize]; [[NSWorkspace sharedWorkspace].notificationCenter removeObserver:self name:NSWorkspaceDidActivateApplicationNotification