Browse Source

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

tags/2021-05-28
ed 6 years ago
parent
commit
c71746f11d
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp

+ 3
- 2
modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp 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;


Loading…
Cancel
Save