mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Drop IPlugView pointer when host drops proxy
This commit is contained in:
@@ -22,11 +22,10 @@ Vst3PlugViewProxyImpl::Vst3PlugViewProxyImpl(
|
||||
: Vst3PlugViewProxy(std::move(args)), bridge(bridge) {}
|
||||
|
||||
Vst3PlugViewProxyImpl::~Vst3PlugViewProxyImpl() {
|
||||
// TODO: Implement this:
|
||||
// // Also drop the plug view smart pointer on the Wine side when this gets
|
||||
// // dropped
|
||||
// bridge.send_message(
|
||||
// Vst3PlugViewProxy::Destruct{.instance_id = instance_id()});
|
||||
// Also drop the plug view smart pointer on the Wine side when this gets
|
||||
// dropped
|
||||
bridge.send_message(
|
||||
Vst3PlugViewProxy::Destruct{.owner_instance_id = owner_instance_id()});
|
||||
}
|
||||
|
||||
tresult PLUGIN_API
|
||||
|
||||
Reference in New Issue
Block a user