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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 4 07:07:57 PST 2012


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



--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-01-04 07:07:56 PST ---
(In reply to comment #0)
To clarify: It should print 1 both times. I think the dtor should run on app
exit, since it's a static variable.

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