Files
clash-proxy/src-tauri
Sline 3d2507430b fix(shutdown): mark shutdown as exiting to stop background tasks (#5024)
* fix(shutdown): mark shutdown as exiting to stop background tasks

- lib.rs:570 → Flag app as exiting on ExitRequested, notify proxy guard, start cleanup immediately, with fallback in Exit event
- tray/mod.rs:190 → Add unified exit checks around tray init/updates to prevent UI recreation during shutdown
- event_driven_proxy.rs:252 → Ensure proxy guard skips all restore/re-enable work (including sysproxy.exe calls) once exit flag is set

* fix(shutdown): refine exit handling and proxy guard notifications

* fix(shutdown): add guard to run shutdown routine only once per lifecycle
3d2507430b · 2025-10-11 16:49:47 +08:00
History
..
2025-02-27 03:18:23 +08:00
2025-09-10 09:49:06 +08:00
2024-06-20 13:50:28 +08:00
2024-09-11 08:15:03 +08:00
2022-11-12 11:37:23 +08:00
2025-06-21 21:22:20 +08:00