mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 01:56:16 -08:00
Arming the main-process guard on the first dirty transition raced the very close it protects against: the fire-and-forget IPC could lose to an immediate window close, which then fell through to beforeunload and was mis-handled as a reload. The guard is now armed when settings mounts — before the user can possibly stage an edit — and a close with a pristine form auto-confirms through the dialog-less path, so the only visible effect of mount-long arming is race-free protection. The per-transition dirty mirror and its form subscription are gone. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>