Files
clash-proxy/src-tauri
Slinetrac f90a8a4534 refactor(profile_switch): centralize state management and add cancellation flow
- Introduced SwitchManager in state.rs to unify mutex, sequencing, and SwitchScope handling.
- Added SwitchCancellation and SwitchRequest wrappers to encapsulate cancel tokens and notifications.
- Updated driver to allocate task IDs via SwitchManager, cancel old tokens, and queue next jobs in order.
- Updated workflow to check cancellation and sequence at each phase, replacing global flags with manager APIs.
f90a8a4534 · 2025-10-26 23:02:26 +08:00
History
..
2025-02-27 03:18:23 +08:00
2025-10-16 09:01:16 +08:00
2024-06-20 13:50:28 +08:00
2024-09-11 08:15:03 +08:00
2025-06-21 21:22:20 +08:00