http://d.puremagic.com/issues/show_bug.cgi?id=5353
Steven Schveighoffer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|[email protected] |[email protected] --- Comment #6 from Steven Schveighoffer <[email protected]> 2010-12-15 06:19:56 PST --- Figured out the problem. The runtime creates a temporary copy of the struct in order to copy over the initial value. It is fixed by copying the TypeInfo.init data. I'll check in a change after the beta is released (don't want to interfere with that). But long story short, your dtor is getting called twice, but the first time it is called, it's on a default-constructed instance, so it shouldn't cause a problem. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
