Check thread is non-NULL before seeing if it's running

This commit is contained in:
baldurk
2016-11-14 14:04:23 +01:00
parent 893fa6d53b
commit c0c6712140
+1 -1
View File
@@ -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)