fix assert

This commit is contained in:
Glenn Maynard
2005-05-10 23:01:04 +00:00
parent 9771f4a62d
commit 876b09a157
+3
View File
@@ -314,6 +314,9 @@ void ThreadedFileWorker::Close( RageFileBasic *pFile )
{
ASSERT( m_pChildDriver != NULL ); /* how did you get a file to begin with? */
if( pFile == NULL )
return;
if( !IsTimedOut() )
{
/* If we're not in a timed-out state, try to wait for the deletion to complete