diff --git a/Source/Processors/Parameter/ParameterEditor.h b/Source/Processors/Parameter/ParameterEditor.h index 9b0415dac..0292fff07 100755 --- a/Source/Processors/Parameter/ParameterEditor.h +++ b/Source/Processors/Parameter/ParameterEditor.h @@ -77,7 +77,11 @@ class PLUGIN_API ParameterEditor : public Component, /** Implements Parameter::Listener */ void parameterChanged (Parameter* param) override { - MessageManager::callAsync ([this] { this->updateView(); }); + if (MessageManager::getInstance()->isThisTheMessageThread()) + this->updateView(); + else //called from HTTPServer thread + MessageManager::callAsync ([this] + { this->updateView(); }); } /** Implements Parameter::Listener */