Implement IComponent::terminate()

This commit is contained in:
Robbert van der Helm
2020-12-12 16:11:48 +01:00
parent d80ba10f06
commit 68084bc555
6 changed files with 37 additions and 5 deletions
+4
View File
@@ -78,6 +78,10 @@ void Vst3Bridge::run() {
return Ack{};
},
[&](const YaComponent::Terminate& request)
-> YaComponent::Terminate::Response {
return component_instances[request.instance_id]->terminate();
},
[&](const WantsPluginFactory&) -> WantsPluginFactory::Response {
return *plugin_factory;
}});