Fix crash accessing non-running thread

This commit is contained in:
baldurk
2020-09-10 15:30:04 +01:00
parent d671c66bea
commit 255f457c0b
+1 -1
View File
@@ -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;
}