fixed memory corruption issue.

This commit is contained in:
rachytski 2012-07-17 19:20:10 -07:00 committed by Alex Zolotarev
parent 5e489a8564
commit e2223eca7a

View file

@ -256,6 +256,9 @@ void CoverageGenerator::CheckEmptyModel(int sequenceID)
void CoverageGenerator::AddFinishSequenceTask(int sequenceID)
{
if (g_coverageGeneratorDestroyed)
return;
m_queue.AddCommand(bind(&CoverageGenerator::FinishSequence, this, sequenceID));
}