mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-09 05:41:31 +00:00
Fix memory leak with D3D11 device not being released by intel counters
This commit is contained in:
1 file changed
+2
@@ -43,6 +43,8 @@ IntelCounters::IntelCounters()
|
||||
|
||||
IntelCounters::~IntelCounters()
|
||||
{
|
||||
SAFE_RELEASE(m_deviceContext);
|
||||
|
||||
if(CloseMetricsDevice)
|
||||
{
|
||||
CloseMetricsDevice(m_metricsDevice);
|
||||
|
||||
Reference in new issue
Block a user