diff --git a/crates/whis-desktop/ui/src/App.vue b/crates/whis-desktop/ui/src/App.vue index 78f67c3..7bdef63 100644 --- a/crates/whis-desktop/ui/src/App.vue +++ b/crates/whis-desktop/ui/src/App.vue @@ -96,10 +96,7 @@ onMounted(async () => { }) // Listen for window close event (Alt+F4, system close, etc.) - await listen('window-close-requested', async () => { - await settingsStore.flush() - await getCurrentWindow().close() - }) + await listen('window-close-requested', closeWindow) })