Skip to content

Commit

Permalink
fix #288
Browse files Browse the repository at this point in the history
set frame to nullptr if the uidesc file is not valid
  • Loading branch information
scheffle committed May 23, 2024
1 parent ba5a6f0 commit 22a9c2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vstgui/plugin-bindings/vst3editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1251,6 +1251,7 @@ bool PLUGIN_API VST3Editor::open (void* parent, const PlatformType& type)
if (!enableEditing (false))
{
getFrame ()->forget ();
frame = nullptr;
return false;
}

Expand Down

0 comments on commit 22a9c2c

Please sign in to comment.