From 6e89df412a165d523beaa7ea60069bf999456805 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 1 Oct 2020 23:39:59 +0200 Subject: [PATCH] VST3: Fix another potential crash when removing a plugin --- libs/ardour/vst3_plugin.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ardour/vst3_plugin.cc b/libs/ardour/vst3_plugin.cc index 78065ca991..414a82419f 100644 --- a/libs/ardour/vst3_plugin.cc +++ b/libs/ardour/vst3_plugin.cc @@ -1132,6 +1132,7 @@ VST3PI::terminate () if (_controller && controller_is_component == false) { _controller->terminate (); + _controller->release (); } _component->release ();