From 22a9c2c38e5ffa60c32dabdc4dd273a0b139d56e Mon Sep 17 00:00:00 2001 From: scheffle Date: Thu, 23 May 2024 18:37:08 +0200 Subject: [PATCH] fix #288 set frame to nullptr if the uidesc file is not valid --- vstgui/plugin-bindings/vst3editor.cpp | 1 + 1 file changed, 1 insertion(+) 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; }