mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Fix crash accessing non-running thread
This commit is contained in:
@@ -342,7 +342,7 @@ void ReplayManager::DisconnectFromRemoteServer()
|
||||
QMutexLocker autolock(&m_RemoteLock);
|
||||
// give the remote to the thread to shut down since the lifetime is tied to the replay
|
||||
// controller it has.
|
||||
if(m_Thread->isRunning())
|
||||
if(IsRunning())
|
||||
{
|
||||
m_OrphanedRemote = m_Remote;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user