Own Win32 main window session explicitly

This commit is contained in:
2026-06-17 15:50:33 +02:00
parent ab6436a38d
commit d80289665d
15 changed files with 91 additions and 77 deletions

View File

@@ -209,9 +209,10 @@ Latest slice:
`windows_platform_services.cpp`.
- `src/platform_windows/windows_platform_services.cpp` now keeps the VR/runtime
adapter surface without also owning the async GL context pocket.
- `src/platform_windows/windows_main_window_session.*` now owns the retained
Win32 main-window session fields (`HWND`, title buffer, sandbox flag)
instead of leaving them inside `windows_runtime_shell.cpp`.
- `src/platform_windows/windows_main_window_session.*` now owns the explicit
Win32 `MainWindowSession` object (`HWND`, title buffer, sandbox flag) that
the runtime shell binds for the live session instead of leaving those fields
behind retained accessors inside `windows_runtime_shell.cpp`.
- `src/platform_windows/windows_runtime_shell.cpp` now keeps Windows runtime
ownership focused on `App` and tablet lifetime rather than also owning
main-window session metadata.