mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix memory leak with D3D11 device not being released by intel counters
This commit is contained in:
@@ -43,6 +43,8 @@ IntelCounters::IntelCounters()
|
||||
|
||||
IntelCounters::~IntelCounters()
|
||||
{
|
||||
SAFE_RELEASE(m_deviceContext);
|
||||
|
||||
if(CloseMetricsDevice)
|
||||
{
|
||||
CloseMetricsDevice(m_metricsDevice);
|
||||
|
||||
Reference in New Issue
Block a user