mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 18:36:15 -08:00
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>