From 278ecf3d252b02821e1eb833aa5b1aa6b13ff2a8 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 15 Nov 2012 16:05:22 +0200 Subject: [PATCH] core: Make exit sequence consistent with init 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 9ea12df28..414849ae5 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); -- 2.11.0