mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-26 17:40:05 +01:00
Merge branch 'backport-2589-test-dbus-exit-on-close-glib-2-72' into 'glib-2-72'
Backport !2589 “tests: Don’t exit gdbus-method-invocation test early on connection close” to glib-2-72 See merge request GNOME/glib!2590
This commit is contained in:
commit
817fc993c7
@ -300,6 +300,10 @@ test_method_invocation_return (void)
|
||||
g_assert_no_error (local_error);
|
||||
g_assert_nonnull (connection);
|
||||
|
||||
/* Don’t exit the test when the server closes the connection in
|
||||
* CloseBeforeReturning(). */
|
||||
g_dbus_connection_set_exit_on_close (connection, FALSE);
|
||||
|
||||
/* Register an object which we can call methods on. */
|
||||
registration_id = g_dbus_connection_register_object (connection,
|
||||
"/foo",
|
||||
|
Loading…
x
Reference in New Issue
Block a user