From dd8c63d13cff8402efaf6ab34a4218bf7d258a9b Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 3 Jul 2020 13:02:06 +0100 Subject: [PATCH] Don't lock around calling RunCommand(). Closes #1970 --- qrenderdoc/Code/Interface/RemoteHost.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/qrenderdoc/Code/Interface/RemoteHost.cpp b/qrenderdoc/Code/Interface/RemoteHost.cpp index c196b75d8..c2cc1d8be 100644 --- a/qrenderdoc/Code/Interface/RemoteHost.cpp +++ b/qrenderdoc/Code/Interface/RemoteHost.cpp @@ -197,12 +197,7 @@ ReplayStatus RemoteHost::Launch() return status; } - rdcstr run; - - { - QMutexLocker autolock(&m_data->mutex); - run = RunCommand(); - } + rdcstr run = RunCommand(); RDProcess process; process.start(run);