cockpit-project/cockpit — pull request #968 by stefwalter (2014-08-05 11:34:54+00:00)
Title: agent: Fix sporadic crash when test-dbusjson finishes

Allow the DBus worker thread to properly cleanup all of its
own nastiness in the mainloop before bringing down the GTestDBus
bus.

GDBus is a can of worms with regard to cleanup. This is another
workaround.