1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

VST3: Fixed a potential crash in Cubase10WindowResizeWorkaround::handleAsyncUpdate()

This commit is contained in:
ed 2019-05-17 11:53:44 +01:00
parent 556eda320b
commit c71746f11d

View file

@ -1495,8 +1495,9 @@ private:
void handleAsyncUpdate() override
{
if (auto* peer = owner.component->getPeer())
peer->updateBounds();
if (owner.component != nullptr)
if (auto* peer = owner.component->getPeer())
peer->updateBounds();
}
JuceVST3Editor& owner;