mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-18 12:36:53 +00:00
Delete frame capture record on shutdown
This commit is contained in:
@@ -329,6 +329,12 @@ WrappedID3D12Device::~WrappedID3D12Device()
|
||||
m_DeviceRecord->Delete(GetResourceManager());
|
||||
}
|
||||
|
||||
if(m_FrameCaptureRecord)
|
||||
{
|
||||
RDCASSERT(m_FrameCaptureRecord->GetRefCount() == 1);
|
||||
m_FrameCaptureRecord->Delete(GetResourceManager());
|
||||
}
|
||||
|
||||
m_ResourceManager->Shutdown();
|
||||
|
||||
SAFE_DELETE(m_ResourceManager);
|
||||
|
||||
Reference in New Issue
Block a user