mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Additional change to 14f0e4d
This commit is contained in:
parent
14f0e4df87
commit
38976c10d2
@ -294,7 +294,7 @@ PLUGIN_EXPORT double Update(void* data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
EnterCriticalSection(&g_CriticalSection);
|
EnterCriticalSection(&g_CriticalSection);
|
||||||
if (!parent->threadActive && parent->ownerChild == child && (parent->needsUpdating || parent->needsIcons))
|
if (!parent->thread && parent->ownerChild == child && (parent->needsUpdating || parent->needsIcons))
|
||||||
{
|
{
|
||||||
unsigned int id;
|
unsigned int id;
|
||||||
HANDLE thread = (HANDLE)_beginthreadex(nullptr, 0, SystemThreadProc, parent, 0, &id);
|
HANDLE thread = (HANDLE)_beginthreadex(nullptr, 0, SystemThreadProc, parent, 0, &id);
|
||||||
|
Loading…
Reference in New Issue
Block a user