when changing the oversampling settings in my plugin I call setLatencySamples() in the Processor. This seems to work in every host except for Studio One. It only affects the VST3 version. I’ve been in touch with the Studio One devs and they answered after investigation, that the restartComponent has to be called from the UI thread, while the JUCE wrapper is only calling it from the process-call. So Studio One is refusing to accept that call and insists on restartComponent being called from the UI-thread. Is there a quick fix or workaround?