From d782ba231143d07cf7621dc2343c32ef39948ea2 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 16 Apr 2025 13:02:03 -0700 Subject: [PATCH] src/sysprof: initialize threadpool during startup That way it doesn't happen as part of document loading. --- src/sysprof/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sysprof/main.c b/src/sysprof/main.c index b6e65777..ca997ce7 100644 --- a/src/sysprof/main.c +++ b/src/sysprof/main.c @@ -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);