MCPcopy Create free account
hub / github.com/baldurk/renderdoc / CloseThread

Method CloseThread

qrenderdoc/Code/ReplayManager.cpp:304–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302}
303
304void ReplayManager::CloseThread()
305{
306 m_Running = false;
307 m_FatalError = {};
308 m_FatalError.code = ResultCode::Succeeded;
309
310 m_RenderCondition.wakeAll();
311
312 if(m_Thread == NULL)
313 return;
314
315 // wait for the thread to close and clean up
316 while(m_Thread->isRunning())
317 {
318 }
319
320 m_Thread->deleteLater();
321 m_Thread = NULL;
322}
323
324ResultDetails ReplayManager::ConnectToRemoteServer(RemoteHost host)
325{

Callers 2

~CaptureContextMethod · 0.80
CloseCaptureMethod · 0.80

Calls 1

isRunningMethod · 0.45

Tested by

no test coverage detected