diff --git a/src/WebWindow.Native/WebWindow.Mac.AppDelegate.mm b/src/WebWindow.Native/WebWindow.Mac.AppDelegate.mm index 57e881d..bdff2a1 100644 --- a/src/WebWindow.Native/WebWindow.Mac.AppDelegate.mm +++ b/src/WebWindow.Native/WebWindow.Mac.AppDelegate.mm @@ -13,6 +13,10 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification { [NSApp activateIgnoringOtherApps:YES]; } +- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender { + return true; +} + - (void)dealloc { [window release]; [super dealloc];