mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
Free render target
This commit is contained in:
@@ -315,4 +315,9 @@ ZoneWindowDrawing::~ZoneWindowDrawing()
|
|||||||
}
|
}
|
||||||
m_cv.notify_all();
|
m_cv.notify_all();
|
||||||
m_renderThread.join();
|
m_renderThread.join();
|
||||||
|
|
||||||
|
if (m_renderTarget)
|
||||||
|
{
|
||||||
|
m_renderTarget->Release();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user