Delete the lock on exit

This commit is contained in:
gedmurphy 2018-01-18 16:56:36 +00:00 committed by Ged Murphy
parent 2abd068398
commit 851e0ca5a8

View file

@ -80,6 +80,8 @@ public:
virtual ~CIconWatcher()
{
Uninitialize();
DeleteCriticalSection(&m_ListLock);
if (m_WakeUpEvent)
CloseHandle(m_WakeUpEvent);
if (m_hWatcherThread)