summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-11-12 14:07:57 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-11-23 12:58:52 +0200
commit9b45848a88af4ae202bce346062a7c8db9bc6a66 (patch)
tree6a592eb10c5daa7ee591460b9f268fbf62f06bad /src/main.c
parenta1562f49d0e9c7ae7906344d896df38201376505 (diff)
downloadconnman-9b45848a88af4ae202bce346062a7c8db9bc6a66.tar.gz
connman-9b45848a88af4ae202bce346062a7c8db9bc6a66.tar.bz2
connman-9b45848a88af4ae202bce346062a7c8db9bc6a66.zip
main: Plugin and provider cleanup order fixed
We must cleanup the plugin first before cleaning up the provider because the vpn plugin needs providers from provider hash.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index cee97002..77a071a5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -609,8 +609,8 @@ int main(int argc, char *argv[])
__connman_wpad_cleanup();
__connman_dhcpv6_cleanup();
__connman_dhcp_cleanup();
- __connman_provider_cleanup();
__connman_plugin_cleanup();
+ __connman_provider_cleanup();
__connman_connection_cleanup();
__connman_timeserver_cleanup();
__connman_session_cleanup();