[Issue 4147] Failing inner expression leaves ghost-reference to outer expression on GC which is errenously finalized

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 2 21:46:07 PDT 2010


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



--- Comment #2 from nfxjfg at gmail.com 2010-05-02 21:46:06 PDT ---
Finalizers called by the GC should be consistent with scope classes and struct
ctors/dtors. It seems the dtor/finalizer should only be called when the ctor
has been run successfully.

It is definitely a bug, and fixing it properly will probably require changes to
D runtime and the compiler.

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