Cubase offline process crashing plugins

#1

Cubase 10 crash when:

  • load a juce based plug-in in offline process chain
  • load another plugin after it.
  • select both plugins, right click and select “delete all”

Crash occurs on line 1286 in juce_VST3_Wrapper.cpp:
void handleAsyncUpdate() override
{
if (auto* peer = owner.component->getPeer())
peer->updateBounds();
}
(in Cubase10WindowResizeWorkaround )

it is easily fixed by checking for nullptr in the component:
void handleAsyncUpdate() override
{
if (owner.component != nullptr)
{
if (auto* peer = owner.component->getPeer())
peer->updateBounds();
}
}

#2

Thanks, I’ll get that pushed shortly.