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 -2
View File
@@ -40,8 +40,10 @@ tresult PLUGIN_API YaComponentPluginImpl::initialize(FUnknown* context) {
}
tresult PLUGIN_API YaComponentPluginImpl::terminate() {
// TODO: Implement
return Steinberg::kNotImplemented;
return bridge
.send_message(
YaComponent::Terminate{.instance_id = arguments.instance_id})
.native();
}
tresult PLUGIN_API