From b22c311975473d02eff6ce1416fe351141407958 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 28 Apr 2007 22:06:10 +0000 Subject: [PATCH] fix flush --- stepmania/src/RageFileDriverTimeout.cpp | 3 +++ 1 file changed, 3 insertions(+) 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