mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-04 06:00:28 +01:00
test_server_shutdown: disconnect the server before causing it to be freed
Otherwise we die with an assertion failure. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33277
This commit is contained in:
parent
e529c4bcdb
commit
a9327eba3c
1 changed files with 2 additions and 0 deletions
|
|
@ -334,6 +334,8 @@ void
|
|||
test_server_shutdown (DBusLoop *loop,
|
||||
DBusServer *server)
|
||||
{
|
||||
dbus_server_disconnect (server);
|
||||
|
||||
if (!dbus_server_set_watch_functions (server,
|
||||
NULL, NULL, NULL,
|
||||
NULL,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue