diff --git a/src/platform_impl/macos/app_delegate.rs b/src/platform_impl/macos/app_delegate.rs index 9de572aa5..f673dc9b7 100644 --- a/src/platform_impl/macos/app_delegate.rs +++ b/src/platform_impl/macos/app_delegate.rs @@ -193,6 +193,7 @@ impl ApplicationDelegate { /// NOTE: that if the `NSApplication` has been launched then that state is preserved, /// and we won't need to re-launch the app if subsequent EventLoops are run. pub fn internal_exit(&self) { + self.handle_event(Event::Suspended); self.handle_event(Event::LoopExiting); self.set_is_running(false);