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

@@ -70,6 +70,15 @@ What is already real:
- `pp_app_core`
Latest slice:
- `src/platform_windows/windows_runtime_shell.cpp` now explicitly owns the
Windows `App` lifetime through a retained `std::unique_ptr<App>` instead of
raw `new`/`delete` plus shutdown-side manual cleanup in the lifecycle shell.
- `src/platform_windows/windows_lifecycle_shell.cpp` now releases the bound
Windows app through `release_bound_app()` after runtime shutdown instead of
deleting it directly through the global shutdown path.
- `src/platform_windows/windows_window_shell.cpp` now routes the touched
key-map and VR-state reads through narrow helpers instead of keeping the
broader retained-state bundle live across the main window-proc body.
- `scripts/automation/quiet-validate.ps1` is now the bundled checkpoint path
for Windows build/test plus optional platform and Apple remote validation,
with one compact JSON summary under `out/logs/quiet-validation`.