Fixed issue with deep links

This commit is contained in:
coolcoala
2025-08-23 03:13:24 +03:00
parent 967f21cc23
commit 8cb3c69b78
7 changed files with 290 additions and 73 deletions

View File

@@ -19,7 +19,8 @@ export const useListen = () => {
};
const setupCloseListener = async function () {
await event.once("tauri://close-requested", async () => {
// Do not clear listeners on close-requested (we hide to tray). Clean up only when window is destroyed.
await event.once("tauri://destroyed", async () => {
removeAllListeners();
});
};