mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-17 12:06:38 +00:00
Close replay thread last to process any invoked resource frees
This commit is contained in:
@@ -1250,8 +1250,6 @@ void CaptureContext::CloseCapture()
|
||||
|
||||
m_CaptureFile = QString();
|
||||
|
||||
m_Replay.CloseThread();
|
||||
|
||||
memset(&m_APIProps, 0, sizeof(m_APIProps));
|
||||
memset(&m_FrameInfo, 0, sizeof(m_FrameInfo));
|
||||
m_Buffers.clear();
|
||||
@@ -1289,6 +1287,8 @@ void CaptureContext::CloseCapture()
|
||||
if(viewer)
|
||||
viewer->OnCaptureClosed();
|
||||
}
|
||||
|
||||
m_Replay.CloseThread();
|
||||
}
|
||||
|
||||
bool CaptureContext::ImportCapture(const CaptureFileFormat &fmt, const rdcstr &importfile,
|
||||
|
||||
Reference in New Issue
Block a user