From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> manager_cleanup should be called after plugin_cleanup on exit as manager_init is called before plugin_init on the init sequence. --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 9ea12df..414849a 100644 --- a/src/main.c +++ b/src/main.c @@ -545,12 +545,12 @@ int main(int argc, char *argv[]) g_source_remove(signal); + plugin_cleanup(); + manager_cleanup("/"); rfkill_exit(); - plugin_cleanup(); - stop_sdp_server(); g_main_loop_unref(event_loop); -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html