mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-19 23:05:21 +00:00
* Reload the desktop window when its renderer exits When the renderer process of the main window exits without a clean shutdown (killed by an out-of-memory killer, crashed, or out of memory), Electron keeps the window frame but shows nothing until the user presses Ctrl+R. The main process had no handler for render-process-gone, so it neither recovered nor logged the exit. The window now reloads itself and logs the exit reason to main.log. If the renderer exits three times within a minute, it stops reloading and logs that, so a page that crashes on load does not restart in a loop. Fixes #9999 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Leave a renderer exit before the first page commits to Chromium Before the window's first navigation commits, Chromium finishes it in a new renderer by itself. Reloading at that point aborted the initial loadURL with ERR_ABORTED, which fails desktop startup. Skip the reload while the window has no committed URL. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>