Fixed a crash in cSpawnPrepare.

This commit is contained in:
Mattes D
2014-11-30 18:19:29 +01:00
parent 65dc452923
commit db0f791d43
+2
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: