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