Files
iptvnator/apps
4grayandClaude Fable 5 fd29a8ce92 fix(settings): restore unload protection when an update install aborts
Two leak paths after a failed quitAndInstall: a rejected install IPC
returned before the renderer could re-arm its unload guard, and a
synchronous updater failure left the main-process one-shot close bypass
armed — the next genuine close then skipped the guard and the restored
beforeunload path treated it as a reload. The facade now resumes the
guard on the rejection path too, and installUpdate() revokes the
prepared bypass (cancelPreparedQuit -> revokeAllowedClose) and reports
the failure as an error status instead of letting it escape as an IPC
rejection.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-09 11:40:49 +02:00
..