diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-11-15 16:05:22 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-11-15 16:14:11 +0200 |
commit | 278ecf3d252b02821e1eb833aa5b1aa6b13ff2a8 (patch) | |
tree | 4ba4cef4cc6d8eb5091267c2cd1e32a9eae2c084 /src/main.c | |
parent | ecbd301c838498597bd628461b1665b330782df5 (diff) | |
download | bluez-278ecf3d252b02821e1eb833aa5b1aa6b13ff2a8.tar.gz |
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.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files 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); |