diff --git a/libs/ardour/vst3_plugin.cc b/libs/ardour/vst3_plugin.cc index f5d21b5219..446198a056 100644 --- a/libs/ardour/vst3_plugin.cc +++ b/libs/ardour/vst3_plugin.cc @@ -1210,8 +1210,8 @@ VST3PI::disconnect_components () return false; } - bool res = componentCP->disconnect (this); - res &= controllerCP->disconnect (this); + bool res = kResultTrue == componentCP->disconnect (this); + res &= kResultTrue == controllerCP->disconnect (this); return res; }