Fix memory leak with D3D11 device not being released by intel counters

This commit is contained in:
baldurk
2018-11-22 19:40:06 +00:00
parent 3fa7e0e35f
commit ffd24c04d4
@@ -43,6 +43,8 @@ IntelCounters::IntelCounters()
IntelCounters::~IntelCounters()
{
SAFE_RELEASE(m_deviceContext);
if(CloseMetricsDevice)
{
CloseMetricsDevice(m_metricsDevice);