Don't race to a double-delete, LambdaThread deletes its own thread

This commit is contained in:
baldurk
2016-10-05 20:20:19 +02:00
parent 044c16a0a3
commit 3ea107fd6c
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ void RenderManager::CloseThread()
{
}
m_Thread->deleteLater();
// the thread deletes itself, don't delete here
m_Thread = NULL;
}