diff --git a/Audio/PluginController.mm b/Audio/PluginController.mm index 1b52df1a4..a1867c9d8 100644 --- a/Audio/PluginController.mm +++ b/Audio/PluginController.mm @@ -108,7 +108,7 @@ static void cache_run() { while(Cache_Running) { std::chrono::steady_clock::time_point now = std::chrono::steady_clock::now(); - { + @autoreleasepool { std::lock_guard lock(Cache_Lock); for(auto it = Cache_List.begin(); it != Cache_List.end();) { auto elapsed = std::chrono::duration_cast(now - it->second.time_accessed);