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

@@ -18,6 +18,11 @@ agent or engineer to remove them without reconstructing context from chat.
## Reductions
- 2026-06-17: `DEBT-0003` was narrowed again.
`src/platform_windows/windows_runtime_shell.cpp` now binds a local
`MainWindowSession` object for the live Win32 session, and the window handle,
title buffer, and sandbox flag now live on that explicit runtime-owned
session instead of the retired retained accessor pocket.
- 2026-06-17: `DEBT-0016`/`DEBT-0017`/`DEBT-0050`/`DEBT-0051`/`DEBT-0053`/
`DEBT-0057` were narrowed again. `src/platform_web/web_platform_services.*`
now owns the concrete Web `PlatformServices` implementation and

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.

View File

@@ -211,8 +211,9 @@ Current slice:
Win32 async GL context lock/swap state.
- `src/platform_windows/windows_platform_services.cpp` no longer carries the
retained async render-context pocket.
- `src/platform_windows/windows_main_window_session.*` now owns the retained
Win32 main-window session fields.
- `src/platform_windows/windows_main_window_session.*` now owns the explicit
Win32 `MainWindowSession` object that the runtime shell binds for the live
session.
- `src/platform_windows/windows_runtime_shell.cpp` no longer carries the
retained `HWND` / title-buffer / sandbox pocket.
- `src/platform_legacy/legacy_platform_services.*` now takes Android storage