Switch to using a mainloop when waiting for connection close
authorMatthias Clasen <mclasen@redhat.com>
Wed, 4 Apr 2012 18:56:17 +0000 (14:56 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 4 Apr 2012 19:02:48 +0000 (15:02 -0400)
commit69d698799563a0276550c339157a01d10d9e95dc
treedd6252d0e86a9319bef1ee25a4a8e3af7df16b8a
parentf1d4d3a4a5734e21dd1f0ea7afc352e475df0c27
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.
gio/tests/gdbus-tests.c