mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
[thumbnail previewers] Release source file after reading it (#28011)
This commit is contained in:
@@ -136,6 +136,9 @@ IFACEMETHODIMP StlThumbnailProvider::GetThumbnail(UINT cx, HBITMAP* phbmp, WTS_A
|
||||
}
|
||||
file.close();
|
||||
|
||||
m_pStream->Release();
|
||||
m_pStream = NULL;
|
||||
|
||||
try
|
||||
{
|
||||
Logger::info(L"Start StlThumbnailProvider.exe");
|
||||
|
||||
Reference in New Issue
Block a user