mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 13:28:02 +02:00
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:
parent
5e359834f2
commit
fd32a72b2f
2 changed files with 2 additions and 2 deletions
|
|
@ -124,6 +124,8 @@ addresses_shutdown_func (void *data)
|
|||
}
|
||||
|
||||
activation_bus_type = DBUS_BUS_STARTER;
|
||||
|
||||
initialized = FALSE;
|
||||
}
|
||||
|
||||
static dbus_bool_t
|
||||
|
|
|
|||
|
|
@ -92,11 +92,9 @@ main (int argc, char *argv[])
|
|||
|
||||
dbus_shutdown ();
|
||||
|
||||
/*
|
||||
open_shutdown_private_connection ();
|
||||
|
||||
dbus_shutdown ();
|
||||
*/
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue