[Issue 6364] Static struct's destructor called on exit of function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 6 09:24:54 PST 2012


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



--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-01-06 09:24:52 PST ---
(In reply to comment #2)
> https://github.com/D-Programming-Language/dmd/pull/612
> 
> NOTE: This patch does not fix "dtor is never called on global variable" problem
> (it is filed as bug 6437).
> So after the patch applied, foo's dtor would never be called.

Yeah they're two different bugs, I guess. Thanks for fixing this one though!

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