[Issue 2834] Struct Destructors are not called by the GC, but called on explicit delete.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 10 08:40:19 PDT 2010


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


Sean Kelly <sean at invisibleduck.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sean at invisibleduck.org


--- Comment #4 from Sean Kelly <sean at invisibleduck.org> 2010-07-10 08:40:16 PDT ---
What about structs whose memory are freed by the GC?  Would you expect their
dtors to be called?  They aren't.  Try allocating ten million structs in a
loop, not one "dtor" line will print.

-- 
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