mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-16 05:10:42 -07:00
enable_hotkey/disable_hotkey/update_chord_bindings were sync commands, which Tauri runs on the main thread. update_bindings joins the dispatcher thread, and the dispatcher's chord-effect path blocks on main-thread window calls (outer_size, current_monitor, set_position) — toggling the hotkey while an effect was in flight could deadlock. Async commands run on the runtime pool, so the join no longer blocks the thread the dispatcher is waiting on.