forked from organicmaps/organicmaps
fixed memory corruption issue.
This commit is contained in:
parent
5e489a8564
commit
e2223eca7a
1 changed files with 3 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue