From b6f0b2d0aa76819fbcbf8faadbcae492dbd02d5d Mon Sep 17 00:00:00 2001 From: jules Date: Fri, 15 Mar 2019 12:42:04 +0000 Subject: [PATCH] Tweaked the re-entrancy check on the PluginListComponent scan --- .../scanning/juce_PluginListComponent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp b/modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp index 4f7e34baf3..f6f9894ad9 100644 --- a/modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp +++ b/modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp @@ -521,10 +521,10 @@ private: if (timerReentrancyCheck) return; - const ScopedValueSetter setter (timerReentrancyCheck, true); - if (pool == nullptr) { + const ScopedValueSetter setter (timerReentrancyCheck, true); + if (doNextScan()) startTimer (20); }