Commit 701d19d1 authored by Colin Walters's avatar Colin Walters
Browse files

gdbus: Work around threading deadlock in glib

for more details.  What dconf is doing right now provokes
this more easily by involving *another* thread in the mix.
parent 102bb4a2
......@@ -94,6 +94,10 @@ dconf_gdbus_get_worker_context (void)
GMainContext *context;
/* Work around */
g_type_ensure (G_TYPE_DBUS_CONNECTION);
g_type_ensure (G_TYPE_DBUS_PROXY);
context = g_main_context_new ();
g_thread_new ("dconf worker", dconf_gdbus_worker_thread, context);
g_once_init_leave (&worker_context, context);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment