diff --git a/Plugins/PluginRecycleManager/RecycleManager.cpp b/Plugins/PluginRecycleManager/RecycleManager.cpp index 6e28a173..d94a271a 100644 --- a/Plugins/PluginRecycleManager/RecycleManager.cpp +++ b/Plugins/PluginRecycleManager/RecycleManager.cpp @@ -154,6 +154,8 @@ PLUGIN_EXPORT double Update(void* data) } while (FindNextFile(hSearch, &fd)); + FindClose(hSearch); + if (count != data.lastCount) { data.lastCount = count;