Bind Win32 main-thread queue to runtime state

This commit is contained in:
2026-06-17 11:38:43 +02:00
parent 0cf6a6ea4f
commit 9602196e99
6 changed files with 31 additions and 4 deletions

View File

@@ -120,6 +120,7 @@ App* bound_app() noexcept
void release_bound_app() noexcept
{
bind_app(nullptr);
bind_runtime(nullptr);
retained_owned_app().reset();
}
@@ -136,6 +137,7 @@ int run_main_application(int argc, char** argv)
owned_app = std::make_unique<App>();
auto* app = owned_app.get();
bind_app(app);
bind_runtime(&app->runtime());
app->set_platform_services(&pp::platform::windows::platform_services());
app->initLog();