From 6069b654d17aa651c3874ba9ff8072d95718000d Mon Sep 17 00:00:00 2001 From: Tunglies <77394545+Tunglies@users.noreply.github.com> Date: Fri, 8 Aug 2025 14:57:47 +0800 Subject: [PATCH] fix: ensure app quit notification is sent before quitting --- src-tauri/src/core/hotkey.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/core/hotkey.rs b/src-tauri/src/core/hotkey.rs index e79cc2dd4..0a6ba7a35 100755 --- a/src-tauri/src/core/hotkey.rs +++ b/src-tauri/src/core/hotkey.rs @@ -163,8 +163,8 @@ impl Hotkey { notify_event(app_handle, NotificationEvent::LightweightModeEntered); } HotkeyFunction::Quit => { - feat::quit(); notify_event(app_handle, NotificationEvent::AppQuit); + feat::quit(); } #[cfg(target_os = "macos")] HotkeyFunction::Hide => {