Plugin Loader - Ways of handling plugins that crash

Hi guys!

I am building a plugin that loads plugins, and I am wondering if anyone has come up with a portable way of handling when plugins crash the host plugin. I am aware of the blacklisting approach where you add the plugin details to a blacklist before attempting to load the plugins, and then remove it after a successful load. However, I am just wondering if anyone has implemented a more elegant approach.

for sure. bitwig for example can sandbox every individual plugin it hosts if needed. that doesn’t explain how it’s done ofc, but i just thought i’d mention it in case you weren’t sure yet if this is possible at all

I’m interested in this as well if anyone has any insight

Afaik that is only possible when you load and run the plugin in a different process.