app
Adom Hydrogen
Public Made by Adomby adom
The whole Adom experience as one signed native app: your editor, your AI agent, and the full electronics design toolchain, running locally on your own machine.
tao event-loop teardown panic 'cannot move state from Destroyed' (runner.rs:371) — seen v0.1.95 and again 2026-08-03 on 0.1.304-era build
Type: Bug (extracted from #3, which is otherwise stale)
The tao Windows event-loop teardown panic is still occurring on current builds:
[PANIC] panicked at ...tao-0.35.2\src\platform_impl\windows\event_loop\runner.rs:371:25:
cannot move state from Destroyed
- First captured 2026-06-30 on v0.1.95 during the #3 lockup exit (see that issue's log excerpt).
- Seen again 2026-08-03 05:49 on a current dev build (0.1.304 era) in the wreckage of an interrupted migration; same runner.rs:371 signature.
Why it matters: a panic during event-loop teardown can leave zombie window state behind, which is the leading theory for #3's "HD could not relaunch until reboot". The trigger seems to be teardown while background threads (health pollers, the wake watcher's hidden message-only window thread) are still live.
Investigation plan:
- Reproduce with verbose teardown logging: order of window destruction vs thread shutdown at [app] Exiting.
- Check whether the wake-heal hidden message-only window thread (added 2026-08-02) outlives the main event loop and needs an explicit unregister/join on exit.
- Consider upgrading tao (changelog mentions teardown fixes after 0.35.2) or draining background emitters before exit.