Drop IPlugView pointer when host drops proxy

This commit is contained in:
Robbert van der Helm
2020-12-19 22:17:10 +01:00
parent b7047a5281
commit 7306809991
6 changed files with 40 additions and 6 deletions
+9
View File
@@ -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) {