You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
We are using Box::into_raw in VSTPluginMain but when a plugin is unloaded in a host, how will the memory get freed?
How are hosts usually freeing the memory when unloading a vst dll?
Are hosts usually calling delete aeffect; on the pointer returned by VSTPluginMain (assuming that they were written in C++)? Or are they not even trying to free the memory?
It might not happen often that plugins are unloaded/reloaded but we should still strive to avoid memory leaks..
The text was updated successfully, but these errors were encountered:
We may need to manage a static pool of plugin instances from within the lib and clean up the memory when the host notifies us before destruction. (Which I think they are supposed to do)
We are using
Box::into_raw
inVSTPluginMain
but when a plugin is unloaded in a host, how will the memory get freed?How are hosts usually freeing the memory when unloading a vst dll?
Are hosts usually calling
delete aeffect;
on the pointer returned byVSTPluginMain
(assuming that they were written in C++)? Or are they not even trying to free the memory?It might not happen often that plugins are unloaded/reloaded but we should still strive to avoid memory leaks..
The text was updated successfully, but these errors were encountered: