mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-09 22:21:51 +03:00
18ac1d528f
app-update.spec.ts picks the relaunched Desktop with desktopMainProcesses(): every process running from the release dir without `--type=` whose parent is not itself a candidate. Crashpad's chrome_crashpad_handler also runs from that dir, has no `--type=`, is reparented to init, and the first app's handler outlives the app while the hand-off runs. With a lower pid than the relaunched app, .find() returned the handler, the spec sent SIGTERM to an already-exiting handler, and the real relaunched app was never asked to quit: "the relaunched app quits cleanly on SIGTERM" timed out with the whole app tree alive. Runner proof (debug dispatch 42663184970): the spec signalled pid 12412 (the first app's chrome_crashpad_handler); the relaunched app 15829 logged no before-quit at all. Only the packaged exe now counts as a main process.
18ac1d528f
·
2026-11-09 10:35:57 -08:00
History