GC object finalization not guaranteed
Walter Bright
newshound1 at digitalmars.com
Sat Apr 18 14:33:19 PDT 2009
Leandro Lucarella wrote:
> The current GC implementation don't call finalizers for data that's still
> reference when the program *ended* (this is allowed by the specs, so it's
> fine, the question is why it's allowed by the specs).
The why is because of speed. What's the point of running a gc pause on
program exit? The OS recovers all the memory anyway.
More information about the Digitalmars-d
mailing list