[Issue 8139] Make objects really disposable by addition of "Object finalized" assertion

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 24 03:58:29 PDT 2012


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



--- Comment #2 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2012-05-24 15:00:11 MSD ---
(In reply to comment #1)
> Now suppose we added an extra bool field to Object.

>From Sean Kelly's reply at NG:
> rt_finalize currently nulls out the vtbl pointer, which can server as an isAlive flag if desired.

Link:
http://forum.dlang.org/thread/jo0p3a$aue$1@digitalmars.com#post-mailman.323.1336157840.24740.digitalmars-d:40puremagic.com

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