diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -61,10 +61,10 @@ int main(int argc, char *argv[]) __connman_plugin_init(); - __connman_iface_init(conn); - __connman_rtnl_init(); + __connman_iface_init(conn); + memset(&sa, 0, sizeof(sa)); sa.sa_handler = sig_term; sigaction(SIGINT, &sa, NULL); @@ -72,10 +72,10 @@ int main(int argc, char *argv[]) g_main_loop_run(main_loop); - __connman_rtnl_cleanup(); - __connman_iface_cleanup(); + __connman_rtnl_cleanup(); + __connman_plugin_cleanup(); __connman_manager_cleanup(); |