Gdbus client for BlueZ was created on plugin initialization, but not
cleaned up on plugin exit. Fixed by adding a g_dbus_client_unref() to
bluetooth_exit().
---
plugins/bluetooth.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index c6f387e..533c6ce 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -976,6 +976,8 @@ static void bluetooth_exit(void)
*/
device_driver.disable = NULL;
+ g_dbus_client_unref(client);
+
connman_network_driver_unregister(&network_driver);
g_hash_table_destroy(networks);
--
1.9.1
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman