Diff between ecbd301c838498597bd628461b1665b330782df5 and 278ecf3d252b02821e1eb833aa5b1aa6b13ff2a8

Changed Files

File Additions Deletions Status
src/main.c +2 -2 modified

Full Patch

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);