mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-28 16:45:38 +00:00
Don't race to a double-delete, LambdaThread deletes its own thread
This commit is contained in:
@@ -94,7 +94,7 @@ void RenderManager::CloseThread()
|
||||
{
|
||||
}
|
||||
|
||||
m_Thread->deleteLater();
|
||||
// the thread deletes itself, don't delete here
|
||||
|
||||
m_Thread = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user