summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMAN-AT-ARMS <donny@ecgnetwork.com>2014-02-22 21:18:34 -0500
committerTim Angus <tim@ngus.net>2014-06-17 17:43:40 +0100
commit54a5e1ee48572c8912d403b46a6fd8ebb4b9e106 (patch)
tree2a813243d9d01d801fc9892e559843581cf8bae1
parent07c3112efb582dfe10e47c7c24efbc6602d1f9ac (diff)
Release netowrk bindings on shutdown
-rw-r--r--src/sys/sys_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sys/sys_main.c b/src/sys/sys_main.c
index 4b04c70b..9ccd6d2e 100644
--- a/src/sys/sys_main.c
+++ b/src/sys/sys_main.c
@@ -219,6 +219,8 @@ static __attribute__ ((noreturn)) void Sys_Exit( int exitCode )
remove( pidFile );
}
+ NET_Shutdown( );
+
Sys_PlatformExit( );
exit( exitCode );