[EXPLORER] Fix handle leaks (#8516)

JIRA issue: CORE-15616
JIRA issue: CORE-14382

The Explorer shell has multiple resource leaks causing handle exhaustion over extended use.
This commit is contained in:
Copilot
2026-01-01 22:13:00 +09:00
committed by GitHub
parent d2ae286c6b
commit 1d409e322b
3 changed files with 26 additions and 3 deletions

View File

@@ -276,7 +276,6 @@ public:
if (!m_hThread)
{
m_bThreadRunning = FALSE;
CloseHandle(m_hThread);
}
}
};
@@ -1557,6 +1556,13 @@ public:
CloseThemeData(m_Theme);
DeleteAllTasks();
if (m_ImageList)
{
ImageList_Destroy(m_ImageList);
m_ImageList = NULL;
}
return TRUE;
}