mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Delete thread when it's cleaned up, not automatically
This commit is contained in:
@@ -235,7 +235,6 @@ public slots:
|
||||
{
|
||||
m_func();
|
||||
m_Thread->quit();
|
||||
deleteLater();
|
||||
m_Thread->deleteLater();
|
||||
m_Thread = NULL;
|
||||
}
|
||||
|
||||
@@ -94,8 +94,7 @@ void RenderManager::CloseThread()
|
||||
{
|
||||
}
|
||||
|
||||
// the thread deletes itself, don't delete here
|
||||
|
||||
m_Thread->deleteLater();
|
||||
m_Thread = NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user