mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Check thread is non-NULL before seeing if it's running
This commit is contained in:
@@ -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