From 8a7a223777e22717dde9f36f5b9f19cdcbb82cdf Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Tue, 24 Nov 2020 01:35:42 +0100 Subject: [PATCH] Make sure to null the editor frame after closing --- vst/SfizzVstEditor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/vst/SfizzVstEditor.cpp b/vst/SfizzVstEditor.cpp index 0f9bd231..e972b9bf 100644 --- a/vst/SfizzVstEditor.cpp +++ b/vst/SfizzVstEditor.cpp @@ -79,6 +79,7 @@ void PLUGIN_API SfizzVstEditor::close() frame->forget(); else frame->close(); + this->frame = nullptr; } }