diff --git a/vstgui/plugin-bindings/vst3editor.cpp b/vstgui/plugin-bindings/vst3editor.cpp index 43a24a155..886b8bc84 100644 --- a/vstgui/plugin-bindings/vst3editor.cpp +++ b/vstgui/plugin-bindings/vst3editor.cpp @@ -1251,6 +1251,7 @@ bool PLUGIN_API VST3Editor::open (void* parent, const PlatformType& type) if (!enableEditing (false)) { getFrame ()->forget (); + frame = nullptr; return false; }