diff options
Diffstat (limited to 'cocoa/NetsurfApp.m')
-rw-r--r-- | cocoa/NetsurfApp.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cocoa/NetsurfApp.m b/cocoa/NetsurfApp.m index 6d881bb9d..f1245ece3 100644 --- a/cocoa/NetsurfApp.m +++ b/cocoa/NetsurfApp.m @@ -93,6 +93,8 @@ -(void) terminate: (id)sender; { + [[NSNotificationCenter defaultCenter] postNotificationName:NSApplicationWillTerminateNotification object:self]; + netsurf_quit = true; [self postEvent: [NSEvent otherEventWithType: NSApplicationDefined location: NSZeroPoint modifierFlags: 0 timestamp: 0 windowNumber: 0 context: NULL |