Merge pull request #8445 from ivan100sic/free-render-target

[FancyZones] Video memory leak fix, free render target
This commit is contained in:
Ivan Stošić 2020-12-07 18:42:10 +01:00 committed by GitHub
commit b1c0c5a03e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -315,4 +315,9 @@ ZoneWindowDrawing::~ZoneWindowDrawing()
}
m_cv.notify_all();
m_renderThread.join();
if (m_renderTarget)
{
m_renderTarget->Release();
}
}