[PATCH v3 41/42] main: Plugin and provider cleanup order fixed

Jukka Rissanen jukka.rissanen at linux.intel.com
Wed Nov 7 03:49:07 PST 2012


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 cee9700..77a071a 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();
-- 
1.7.11.4




More information about the connman mailing list