Disconnect the correct connection point proxy

This commit is contained in:
Robbert van der Helm
2021-12-28 17:06:34 +01:00
parent 75dc6c5236
commit 2137d79229
2 changed files with 4 additions and 2 deletions
+1 -2
View File
@@ -348,8 +348,7 @@ void Vst3Bridge::run() {
} else {
const tresult result =
this_instance.interfaces.connection_point->disconnect(
object_instances.at(*request.other_instance_id)
.connection_point_proxy);
this_instance.connection_point_proxy);
this_instance.connection_point_proxy.reset();
return result;