mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 09:46:17 +01:00
Merge branch 'test-dbus-exit-on-close' into 'main'
tests: Don’t exit gdbus-method-invocation test early on connection close See merge request GNOME/glib!2589
This commit is contained in:
commit
28add9abfe
@ -300,6 +300,10 @@ test_method_invocation_return (void)
|
|||||||
g_assert_no_error (local_error);
|
g_assert_no_error (local_error);
|
||||||
g_assert_nonnull (connection);
|
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. */
|
/* Register an object which we can call methods on. */
|
||||||
registration_id = g_dbus_connection_register_object (connection,
|
registration_id = g_dbus_connection_register_object (connection,
|
||||||
"/foo",
|
"/foo",
|
||||||
|
Loading…
Reference in New Issue
Block a user