src/sysprof: initialize threadpool during startup

That way it doesn't happen as part of document loading.
This commit is contained in:
Christian Hergert
2025-04-16 13:02:03 -07:00
parent 501777fe3e
commit d782ba2311

View File

@ -54,6 +54,9 @@ main (int argc,
dex_init ();
/* Setup thread pool scheduler at startup */
(void)dex_thread_pool_scheduler_get_default ();
app = sysprof_application_new ();
ret = g_application_run (G_APPLICATION (app), argc, argv);