summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/dbus-common.c')
-rw-r--r--hcid/dbus-common.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/hcid/dbus-common.c b/hcid/dbus-common.c
index 6028bc78..1270a002 100644
--- a/hcid/dbus-common.c
+++ b/hcid/dbus-common.c
@@ -303,10 +303,7 @@ void hcid_dbus_exit(void)
dbus_free_string_array(children);
done:
- dbus_connection_destroy_object_path(conn, BASE_PATH);
-
- if (hcid_dbus_use_experimental())
- dbus_connection_destroy_object_path(conn, "/");
+ manager_cleanup(conn, BASE_PATH);
set_dbus_connection(NULL);