[Issue 10789] Struct destructor erroneously called

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 29 09:20:10 PDT 2013


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


Sönke Ludwig <sludwig at outerproduct.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED


--- Comment #9 from Sönke Ludwig <sludwig at outerproduct.org> 2013-09-29 09:20:09 PDT ---
Sorry, you are absolutely right. The "initialized = false" was supposed to go
to the destructor instead to test if the destructor is called twice on the same
instance. I'm still seeing a similar issue in my project, but I can't reproduce
it with the fixed this(this).

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