Implement Vst3ContextMenuProxyImpl destructor

This commit is contained in:
Robbert van der Helm
2021-01-06 22:50:56 +01:00
parent b9d4bd6042
commit 5dffba4584
5 changed files with 25 additions and 7 deletions
+9
View File
@@ -49,6 +49,15 @@ Vst3PluginBridge::Vst3PluginBridge()
sockets.vst_host_callback.receive_messages(
std::pair<Vst3Logger&, bool>(logger, false),
overload{
[&](const Vst3ContextMenuProxy::Destruct& request)
-> Vst3ContextMenuProxy::Destruct::Response {
assert(
plugin_proxies.at(request.owner_instance_id)
.get()
.unregister_context_menu(request.context_menu_id));
return Ack{};
},
[&](const WantsConfiguration&) -> WantsConfiguration::Response {
return config;
},