From 851e0ca5a85683db1b0cbd4345bf07cbc18cf6ee Mon Sep 17 00:00:00 2001 From: gedmurphy Date: Thu, 18 Jan 2018 16:56:36 +0000 Subject: [PATCH] Delete the lock on exit --- base/shell/explorer/trayntfy.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/shell/explorer/trayntfy.cpp b/base/shell/explorer/trayntfy.cpp index 4df1a6240cd..d7e3b527547 100644 --- a/base/shell/explorer/trayntfy.cpp +++ b/base/shell/explorer/trayntfy.cpp @@ -80,6 +80,8 @@ public: virtual ~CIconWatcher() { Uninitialize(); + DeleteCriticalSection(&m_ListLock); + if (m_WakeUpEvent) CloseHandle(m_WakeUpEvent); if (m_hWatcherThread)