diff options
author | Cidorvan Leite <cidorvan.leite@openbossa.org> | 2008-03-27 18:05:44 +0000 |
---|---|---|
committer | Cidorvan Leite <cidorvan.leite@openbossa.org> | 2008-03-27 18:05:44 +0000 |
commit | 5f3c139264135deb57b41c144340c0d2d03b0a96 (patch) | |
tree | 0397a22487335b6c757c5a1d39bddd649edfc979 /hcid/main.c | |
parent | 1152fc72d35de616d5d2d3a29525fd6aacb852f9 (diff) |
Fixed plugin clean up.
Diffstat (limited to 'hcid/main.c')
-rw-r--r-- | hcid/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hcid/main.c b/hcid/main.c index 99d2bd5d..a18d7a32 100644 --- a/hcid/main.c +++ b/hcid/main.c @@ -934,6 +934,8 @@ int main(int argc, char *argv[]) /* Start event processor */ g_main_loop_run(event_loop); + plugin_cleanup(); + if (sdp) stop_sdp_server(); @@ -947,8 +949,6 @@ int main(int argc, char *argv[]) cleanup_sdp_session(); - plugin_cleanup(); - g_main_loop_unref(event_loop); info("Exit"); |