Additional change to 14f0e4d

This commit is contained in:
Birunthan Mohanathas 2013-03-23 18:28:32 +02:00
parent 14f0e4df87
commit 38976c10d2

View File

@ -294,7 +294,7 @@ PLUGIN_EXPORT double Update(void* data)
}
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;
HANDLE thread = (HANDLE)_beginthreadex(nullptr, 0, SystemThreadProc, parent, 0, &id);