From 9b45848a88af4ae202bce346062a7c8db9bc6a66 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Mon, 12 Nov 2012 14:07:57 +0200 Subject: 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. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3