Restaurer la fenêtre existante au relancement #53

Merged
nessar merged 2 commits from feat/50-single-instance into main 2026-11-19 23:10:46 +01:00
2 Commits
Author SHA1 Message Date
nessarandClaude Opus 5.5 6d07a9641f Address single-instance review findings (#50)
CI / core (pull_request) Successful in 35s
CI / core (push) Successful in 39s
- Reopen the window even when the relaunch's ack event is gone.
- Exit quietly instead of panicking on timeout or Win32 error; bound the startup gate wait.
- Fail softly in accept_relaunches; name the locks (Primary, HeldMutex).
- Share window_hwnd, derive REOPEN from TRAY_MESSAGE, name the marker.
- Test a crashed primary and a relaunch that finds no window.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:09:47 +01:00
nessar a11bc277f2 Restore the existing window on relaunch (#50)
Elect one process per Windows session before starting GPUI or opening the database. Let the existing window handle reopen requests and preserve its current state.
2026-11-19 23:09:47 +01:00