[Issue 6666] gc finalization/freeing is hierarchy agnostic

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 13 18:06:14 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6666



--- Comment #2 from Vladimir Panteleev <thecybershadow at gmail.com> 2011-09-13 18:05:56 PDT ---
Oops, I broke it.

> Furthermore, the order in which the garbage collector calls destructors
> for unreference objects is not specified. This means that when the garbage
> collector calls a destructor for an object of a class that has members that
> are references to garbage collected objects, those references may no longer
> be valid. This means that destructors cannot reference sub objects.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list