Fixed a crash in cSpawnPrepare.

master
Mattes D 2014-11-30 18:19:20 +01:00
parent 65dc452923
commit db0f791d43
1 changed files with 2 additions and 0 deletions

View File

@ -164,6 +164,8 @@ protected:
if (m_NumPrepared >= m_MaxIdx)
{
m_EvtFinished.Set();
// Must return here, because "this" may have gotten deleted by the previous line
return;
}
// Queue another chunk, if appropriate: