mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 10:08:56 +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:
		@@ -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",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user