Skip to content

main: Move g_setenv() calls before calls that may start threads

setenv() is not thread-safe and must happen before starting threads. The g_setenv() calls in main() happened after meta_context_configure(), which will start a thread via meta_profiler_new() which in its init calls g_bus_get().

Closes: #6974 (closed)

Merge request reports