mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 15:48:54 +02: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:
@@ -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
|
/* toggle refs are not easy to use (maybe not even safe) when multiple
|
||||||
* threads are involved so implement this by busy-waiting for now
|
* threads are involved so implement this by busy-waiting for now
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user