Skip to content

Commit

Permalink
Merge branch 'development-juce8' of https://github.com/open-ephys/plu…
Browse files Browse the repository at this point in the history
…gin-GUI into development-juce8
  • Loading branch information
jsiegle committed Aug 29, 2024
2 parents e747485 + a08c2b4 commit d5983f2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Source/Processors/Parameter/ParameterEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit d5983f2

Please sign in to comment.