diff --git a/reaction/code/sys/sys_main.c b/reaction/code/sys/sys_main.c index 84db658b..c30bbf65 100644 --- a/reaction/code/sys/sys_main.c +++ b/reaction/code/sys/sys_main.c @@ -207,6 +207,8 @@ static void Sys_Exit( int exitCode ) remove( Sys_PIDFileName( ) ); } + Sys_PlatformExit( ); + exit( exitCode ); }