Additional change to c7d8f7e

This commit is contained in:
Birunthan Mohanathas 2013-03-21 18:06:14 +02:00
parent 557664c77f
commit 1562a24322

View File

@ -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; DWORD flags = GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS | GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT;
GetModuleHandleEx(flags, (LPCWSTR)DllMain, &module); GetModuleHandleEx(flags, (LPCWSTR)DllMain, &module);
} }
parent->threadActive = false;
LeaveCriticalSection(&g_CriticalSection); LeaveCriticalSection(&g_CriticalSection);
if (module) if (module)