mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 22:18:13 +00:00
Delete the lock on exit
This commit is contained in:
parent
2abd068398
commit
851e0ca5a8
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@ public:
|
||||||
virtual ~CIconWatcher()
|
virtual ~CIconWatcher()
|
||||||
{
|
{
|
||||||
Uninitialize();
|
Uninitialize();
|
||||||
|
DeleteCriticalSection(&m_ListLock);
|
||||||
|
|
||||||
if (m_WakeUpEvent)
|
if (m_WakeUpEvent)
|
||||||
CloseHandle(m_WakeUpEvent);
|
CloseHandle(m_WakeUpEvent);
|
||||||
if (m_hWatcherThread)
|
if (m_hWatcherThread)
|
||||||
|
|
Loading…
Reference in a new issue