Add CLAP plugin destroying

Everything else is still a stub, but at least the lifecycle now works
correctly.
This commit is contained in:
Robbert van der Helm
2022-09-09 15:32:19 +02:00
parent 54dd4c583f
commit d2fb84e529
6 changed files with 51 additions and 14 deletions
+2 -1
View File
@@ -41,7 +41,8 @@
// serialize this without it.
using ClapMainThreadControlRequest = std::variant<WantsConfiguration,
clap::plugin_factory::List,
clap::plugin_factory::Create>;
clap::plugin_factory::Create,
clap::plugin::Destroy>;
template <typename S>
void serialize(S& s, ClapMainThreadControlRequest& payload) {