mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-18 18:19:12 +00:00
Delete thread when it's cleaned up, not automatically
This commit is contained in:
1 parent
6b99f40b2b
commit
b4b45835b0
2 files changed
+1
-3
No files matched your search
@@ -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