diff --git a/stepmania/src/RageFileDriverTimeout.cpp b/stepmania/src/RageFileDriverTimeout.cpp index e83b2ebcae..13a21803ab 100644 --- a/stepmania/src/RageFileDriverTimeout.cpp +++ b/stepmania/src/RageFileDriverTimeout.cpp @@ -683,7 +683,10 @@ public: ~RageFileObjTimeout() { if( m_pFile != NULL ) + { + Flush(); m_pWorker->Close( m_pFile ); + } } int GetFileSize() const