Gio.TestDBus.prototype.stop
function stop(): void { // Gjs wrapper for g_test_dbus_stop() }
Stop the session bus started by Gio.TestDBus.prototype.up.
Unlike Gio.TestDBus.prototype.down, this won't verify the Gio.DBusConnection singleton returned by Gio.bus_get or Gio.bus_get_sync is destroyed. Unit tests wanting to verify behaviour after the session bus has been stopped can use this function but should still call Gio.TestDBus.prototype.down when done.