Bug 15570: Reset initialized state on dbus_shutdown (Scott James Remnant)

* dbus/dbus-bus.c (addresses_shutdown_func): Reset initialized back
 	to FALSE after cleaning up the address list so that it will be
 	reinitialized again if D-Bus is used after dbus_shutdown()
	* test/name-test/test-privserver-client.c: Uncomment part of
	test which should now pass.
This commit is contained in:
Colin Walters 2008-05-30 19:58:13 -04:00
parent 5e359834f2
commit fd32a72b2f
2 changed files with 2 additions and 2 deletions

View file

@ -124,6 +124,8 @@ addresses_shutdown_func (void *data)
}
activation_bus_type = DBUS_BUS_STARTER;
initialized = FALSE;
}
static dbus_bool_t

View file

@ -92,11 +92,9 @@ main (int argc, char *argv[])
dbus_shutdown ();
/*
open_shutdown_private_connection ();
dbus_shutdown ();
*/
return 0;
}