From 171dc2684509a59c9b9a858642071b1604de8f6a Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 24 Feb 2006 03:15:25 +0000 Subject: [PATCH] Fix RageException::Throw during concurrent loading crashes. --- stepmania/src/StepMania.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 279f6e3005..a1d65629d6 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -277,6 +277,12 @@ void ShutdownGame() static void HandleException( const RString &sError ) { + if( SCREENMAN && SCREENMAN->IsConcurrentlyLoading() ) + { + LOG->Trace( "HandleException: FinishConcurrentRendering" ); + GameLoop::FinishConcurrentRendering(); + } + if( g_bAutoRestart ) HOOKS->RestartProgram();