mirror of
https://github.com/stablyai/orca.git
synced 2026-11-18 20:06:10 +00:00
* fix(window): cancelling a quit prompt now cancels the quit Renderer-owned quit prompts (running-work "Close Window?", Save dialog, close-guard and shutdown-checkpoint vetoes) never reach will-prevent-unload, so main kept isQuitting latched after Cancel. A later plain close was treated as a quit and renderer crashes were not recovered. Add a window:close-cancelled IPC (preload ui.cancelWindowClose; no-op in the web client) that the renderer sends on each cancel path. Main accepts it only from its own renderer, only while quitting, and only once that renderer has acknowledged the newest close request, then runs the same abort path as a beforeunload veto. Fixes #39596 Co-authored-by: Neil <neil@stably.ai> * test(window): expose webContents.send on the renderer recovery harness type --------- Co-authored-by: tomarai85 <tomarai85@users.noreply.github.com> Co-authored-by: Neil <neil@stably.ai>