diff --git a/src/detail/standalone/macos/AppDelegate.mm b/src/detail/standalone/macos/AppDelegate.mm index db8260cd..d1040c69 100644 --- a/src/detail/standalone/macos/AppDelegate.mm +++ b/src/detail/standalone/macos/AppDelegate.mm @@ -145,6 +145,11 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification freeaudio::clap_wrapper::standalone::mainStartAudio(); } +- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender +{ + return true; +} + - (void)applicationWillTerminate:(NSNotification *)aNotification { LOG << "applicationWillTerminate shutdown" << std::endl;