diff options
-rw-r--r-- | src/sys/sys_main.c | 2 |
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 ); |