mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Switch to using a mainloop when waiting for connection close
GDBus heavily relies on idles for some of its cleanup operations, and not running a mainloop leads to things not getting cleaned up properly, which in turn leads to test failures, since the session bus singleton does not get removed.
This commit is contained in:
parent
f1d4d3a4a5
commit
69d6987995
@ -158,7 +158,7 @@ _g_bus_get_priv (GBusType bus_type,
|
||||
|
||||
/* ---------------------------------------------------------------------------------------------------- */
|
||||
|
||||
#if 1
|
||||
#if 0
|
||||
/* toggle refs are not easy to use (maybe not even safe) when multiple
|
||||
* threads are involved so implement this by busy-waiting for now
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user