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
+3
View File
@@ -28,6 +28,9 @@ Versioning](https://semver.org/spec/v2.0.0.html).
plugin, causing the number of reported drag-and-drop formats to be magnitudes
higher than yabridge's indicated maximum.
- Fixed Wine version detection in the build configuration.
- Fixed VST3 connection point proxies not being disconnected properly. This code
path is not being used for any of the current Linux VST3 hosts, so this did
not yet cause any issues.
### Packaging notes
+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;