mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Additional change to c7d8f7e
This commit is contained in:
parent
557664c77f
commit
1562a24322
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user