diff --git a/src/StepMania.cpp b/src/StepMania.cpp index e1640b8cb9..32da63693a 100644 --- a/src/StepMania.cpp +++ b/src/StepMania.cpp @@ -298,10 +298,10 @@ void ShutdownGame() LIGHTSMAN->TurnOffAllLights(); } + RageUtil::SafeDelete( NETWORK ); RageUtil::SafeDelete( SCREENMAN ); RageUtil::SafeDelete( STATSMAN ); RageUtil::SafeDelete( MESSAGEMAN ); - RageUtil::SafeDelete( NETWORK ); /* Delete INPUTMAN before the other INPUTFILTER handlers, or an input * driver may try to send a message to INPUTFILTER after we delete it. */ RageUtil::SafeDelete( INPUTMAN );