diff --git a/Plugins/PluginFileView/PluginFileView.cpp b/Plugins/PluginFileView/PluginFileView.cpp index a637a932..de5f7d3c 100644 --- a/Plugins/PluginFileView/PluginFileView.cpp +++ b/Plugins/PluginFileView/PluginFileView.cpp @@ -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);