Handy/src-tauri
Viren Mohindra 095f4ac455
fix: prevent idle watcher from unloading model during recording (#1085)
* fix: prevent idle watcher from unloading model during recording

the idle watcher treats ModelUnloadTimeout::Immediately as a 0s
timeout, causing idle_ms > 0 to always be true. this unloads the
model on the next 10s tick — even while the user is still recording.

the Immediately variant is already handled correctly by
maybe_unload_immediately() which fires after each transcription
completes. the idle watcher should skip it entirely.

fixes regression introduced in d1da935.

* fix race condition

* cleanup

* format

---------

Co-authored-by: CJ Pais <cj@cjpais.com>
2026-03-19 13:45:09 +08:00
..
capabilities feat: add models settings page with filtering and management (#478) 2026-02-08 12:18:22 +08:00
gen/apple more wip but roughly is there 2025-08-01 14:15:02 -07:00
icons who knows 2025-05-09 16:07:36 -07:00
nsis feat: add portable mode to NSIS installer (#807) 2026-03-06 12:07:11 +08:00
resources upgrade path from old giga-am to new (#1088) 2026-03-18 23:20:27 +08:00
src fix: prevent idle watcher from unloading model during recording (#1085) 2026-03-19 13:45:09 +08:00
swift feat: implement structured outputs for post-processing providers (#706) 2026-02-17 12:14:00 +08:00
.gitignore basic working transcription. 2025-02-03 09:26:37 -08:00
build.rs feat: add tray menu localization using system locale (#446) 2025-12-18 04:14:32 -08:00
Cargo.lock release v0.7.12 2026-03-19 08:33:28 +08:00
Cargo.toml release v0.7.12 2026-03-19 08:33:28 +08:00
Entitlements.plist working? ability to package/run on macos 2025-05-05 12:13:27 -07:00
Info.plist working? ability to package/run on macos 2025-05-05 12:13:27 -07:00
rustfmt.toml format everything (#323) 2025-11-10 11:39:14 +08:00
tauri.conf.json release v0.7.12 2026-03-19 08:33:28 +08:00