LightXML.jl icon indicating copy to clipboard operation
LightXML.jl copied to clipboard

Use a finalizer instead of manual memory management

Open Deuxis opened this issue 7 years ago • 1 comments

Including a Base.finalizer(free, x) call in the constructor of every manually-managed object x will achieve that, making the library much more consistent with Julia and eliminating the possibility of user error resulting in a memory leak.

Deuxis avatar Nov 25 '18 13:11 Deuxis

Just a note, automatic memory management is a feature of EzXML.

alhirzel avatar Jun 10 '21 16:06 alhirzel