Object destruction versus finalization

Dicebot public at dicebot.lv
Tue Nov 12 15:23:48 PST 2013


On Tuesday, 12 November 2013 at 23:18:11 UTC, Jonathan M Davis 
wrote:
> You can't do that in
> finalizer, because the GC can choose to free it before the 
> finalizer even runs
> (this avoids issues with circular references).

Ah, damn, have forgotten about it. Disregard previous post.


More information about the Digitalmars-d-learn mailing list