Finalize GC memory

Namespace rswhite4 at googlemail.com
Sun Jun 16 14:28:17 PDT 2013


> http://en.wikipedia.org/wiki/Finalizer
>
> It's basically just means calling the finalizer, and D 
> conflates finalizers and
> destructors, so the destructor of any object on the GC heap is 
> that object's
> finalizer. Normally, it's called when the object is collected, 
> but it can get a
> bit messy depending on how the GC works. It's essentially a 
> non-determinstic
> destructor though.
>
> - Jonathan M Davis

It was my fault. What I meant was to release GC memory 
immediately.


More information about the Digitalmars-d-learn mailing list