Dplug
Dplug copied to clipboard
State of the leaks
on Windows => some leaks reported by Dr Memory and Inspector
On Mac => we leak some resources (shared lib handles, cocoa classes even) mainly because pragma(crt_destructor) didn't exist back then. All should be reclaimed when the host program dies. Even pragma(crt_destructor) is only called when the host program dies and there is no real way to do it otherwise that I know of.(modifié)
On Linux => I don't know, probably something similar to Mac?
to be explicit on Posix I know no methods of cleaning up a global variable when a plugin is unloaded, vs when the hosts dies. Because the dynlib is NOT unloaded from memory when you dlclose it.
Voxengo is praising Doctor Memory.
#603 https://github.com/AuburnSounds/Dplug/blob/master/graphics/dplug/graphics/font.d#L325