Bind Win32 main-thread queue to runtime state
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user