https://git.reactos.org/?p=reactos.git;a=commitdiff;h=851e0ca5a85683db1b0cb…
commit 851e0ca5a85683db1b0cbd4345bf07cbc18cf6ee
Author: gedmurphy <gedmurphy(a)reactos.org>
AuthorDate: Thu Jan 18 16:56:36 2018 +0000
Commit: Ged Murphy <gedmurphy(a)reactos.org>
CommitDate: Sat Jan 20 18:38:42 2018 +0000
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 4df1a6240c..d7e3b52754 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)