From 1562a24322768d62a78f1746cd4eafa0cf1981fe Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Thu, 21 Mar 2013 18:06:14 +0200 Subject: [PATCH] Additional change to c7d8f7e --- Plugins/PluginFileView/PluginFileView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Plugins/PluginFileView/PluginFileView.cpp b/Plugins/PluginFileView/PluginFileView.cpp index 2e88ffaa..7fd43307 100644 --- a/Plugins/PluginFileView/PluginFileView.cpp +++ b/Plugins/PluginFileView/PluginFileView.cpp @@ -923,6 +923,8 @@ unsigned __stdcall UpdateInfoThreadProc(void* pParam) DWORD flags = GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS | GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT; GetModuleHandleEx(flags, (LPCWSTR)DllMain, &module); } + + parent->threadActive = false; LeaveCriticalSection(&g_CriticalSection); if (module)