Own Windows app lifetime in runtime shell

This commit is contained in:
2026-06-17 09:46:43 +02:00
parent 10a3c0498e
commit 25eff166f6
6 changed files with 73 additions and 31 deletions

View File

@@ -78,6 +78,15 @@ Completed, blocked, and superseded task history moved to
the queue is now ordered by code movement instead.
Current slice:
- `src/platform_windows/windows_runtime_shell.cpp` now owns the Windows `App`
through a retained `std::unique_ptr<App>`, so startup/early-return/convert
paths no longer manage raw `new`/`delete` app lifetime manually.
- `src/platform_windows/windows_lifecycle_shell.cpp` now releases the bound
app through `release_bound_app()` after runtime shutdown instead of deleting
it directly through the lifecycle shell.
- `src/platform_windows/windows_window_shell.cpp` now routes the touched
key-map synchronization and VR close state through narrow helpers instead of
carrying the broader retained window bundle live across the window-proc path.
- `scripts/automation/quiet-validate.ps1` now owns the recommended quiet
checkpoint path and can bundle Windows build/test, Android/platform sweeps,
and Apple remote compile gates into one compact JSON summary with