mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-16 00:13:55 +02:00
Drop IPlugView pointer when host drops proxy
This commit is contained in:
@@ -35,6 +35,15 @@ void Vst3Logger::log_unknown_interface(
|
||||
}
|
||||
}
|
||||
|
||||
bool Vst3Logger::log_request(bool is_host_vst,
|
||||
const Vst3PlugViewProxy::Destruct& request) {
|
||||
return log_request_base(is_host_vst, [&](auto& message) {
|
||||
// We don't know what class this instance was originally instantiated
|
||||
// as, but it also doesn't really matter
|
||||
message << request.owner_instance_id << ": IPlugView::~IPlugView()";
|
||||
});
|
||||
}
|
||||
|
||||
bool Vst3Logger::log_request(bool is_host_vst,
|
||||
const Vst3PluginProxy::Construct& request) {
|
||||
return log_request_base(is_host_vst, [&](auto& message) {
|
||||
|
||||
@@ -59,6 +59,7 @@ class Vst3Logger {
|
||||
// `log_request()` call returned `true`. This way we can filter out the
|
||||
// log message for the response together with the request.
|
||||
|
||||
bool log_request(bool is_host_vst, const Vst3PlugViewProxy::Destruct&);
|
||||
bool log_request(bool is_host_vst, const Vst3PluginProxy::Construct&);
|
||||
bool log_request(bool is_host_vst, const Vst3PluginProxy::Destruct&);
|
||||
bool log_request(bool is_host_vst, const Vst3PluginProxy::SetState&);
|
||||
|
||||
Reference in New Issue
Block a user