mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-14 09:50:06 +00:00
Check thread is non-NULL before seeing if it's running
This commit is contained in:
1 parent
893fa6d53b
commit
c0c6712140
1 file changed
+1
-1
@@ -78,7 +78,7 @@ void RenderManager::DeleteCapture(const QString &logfile, bool local)
|
||||
|
||||
bool RenderManager::IsRunning()
|
||||
{
|
||||
return m_Thread->isRunning() && m_Running;
|
||||
return m_Thread && m_Thread->isRunning() && m_Running;
|
||||
}
|
||||
|
||||
void RenderManager::AsyncInvoke(RenderManager::InvokeMethod m)
|
||||
|
||||
Reference in new issue
Block a user