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:
parent
556eda320b
commit
c71746f11d
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue