projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the bug for dbus connection and proxy deinitialization
[platform/core/connectivity/bluetooth-frwk.git]
/
bt-api
/
bt-common.c
diff --git
a/bt-api/bt-common.c
b/bt-api/bt-common.c
index
1fc5bcf
..
d7a9e49
100644
(file)
--- a/
bt-api/bt-common.c
+++ b/
bt-api/bt-common.c
@@
-1784,10
+1784,13
@@
BT_EXPORT_API int bluetooth_unregister_callback(void)
_bt_set_user_data(BT_COMMON, NULL, NULL);
+ _bt_gdbus_deinit_proxys();
+
if (system_gconn) {
g_object_unref(system_gconn);
system_gconn = NULL;
}
+
return BLUETOOTH_ERROR_NONE;
}