Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"double free or corruption (out)" crash when calling clap_plugin->destroy() #4

Open
BillyDM opened this issue May 18, 2022 · 2 comments

Comments

@BillyDM
Copy link

BillyDM commented May 18, 2022

When I call clap_plugin.destroy() one of these example plugins, I get a crash saying double free or corruption (out).

I've made sure that I'm only calling clap_plugin->destroy() once. I've tried some other clap plugins and they don't crash, so maybe it's something wrong with these plugins?

@BillyDM
Copy link
Author

BillyDM commented May 18, 2022

Hmm, is it necessary to call clap_plugin->stop_processing() before calling clap_plugin->destroy()?

@abique
Copy link
Contributor

abique commented Dec 14, 2023

Hi,
The plugin should definitely be robust enough to handle that.
Ideally the host will stop processing, deactivate and then destroy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants