chore(core): document watcher exit conditions

This commit is contained in:
Tunglies
2026-09-30 20:38:42 +08:00
parent 669279a52d
commit 2282df5108
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -84,6 +84,7 @@ pub async fn sync_tray_proxy_selection() -> CmdResult<()> {
}
async fn run_tray_sync_loop() {
// Permanent watcher: keeps syncing until a pass finds no pending sync request.
loop {
match Tray::global().update_menu().await {
Ok(_) => {