Dplug icon indicating copy to clipboard operation
Dplug copied to clipboard

State of the leaks

Open p0nce opened this issue 7 years ago • 1 comments

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.

p0nce avatar Oct 21 '18 17:10 p0nce

Voxengo is praising Doctor Memory.

p0nce avatar Aug 26 '21 09:08 p0nce

#603 https://github.com/AuburnSounds/Dplug/blob/master/graphics/dplug/graphics/font.d#L325

p0nce avatar Nov 10 '21 11:11 p0nce