From 8661e0509b2a0fa27736dadeae5fba697d16a64e Mon Sep 17 00:00:00 2001 From: MAN-AT-ARMS Date: Sat, 22 Feb 2014 21:18:34 -0500 Subject: [PATCH] Release netowrk bindings on shutdown --- code/sys/sys_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/sys/sys_main.c b/code/sys/sys_main.c index 40e8a9f6..391ec0bb 100644 --- a/code/sys/sys_main.c +++ b/code/sys/sys_main.c @@ -218,6 +218,8 @@ static __attribute__ ((noreturn)) void Sys_Exit( int exitCode ) remove( pidFile ); } + NET_Shutdown( ); + Sys_PlatformExit( ); exit( exitCode );