[Issue 1164] Unordered GC finalization leading to memory bugs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 21 00:55:19 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=1164

Mathias LANG <pro.mathias.lang at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |pro.mathias.lang at gmail.com
         Resolution|---                         |WONTFIX

--- Comment #16 from Mathias LANG <pro.mathias.lang at gmail.com> ---
We advertise everywhere that you should not access GC-allocated items in
destructors, but you can access anything that is allocated with another method.
Just like you should not allocate in destructors.

Closing this, as it is not actionable.
Anything addressing this should be a DIP, as we have gathered over a decade of
experience with this problem.

--


More information about the Digitalmars-d-bugs mailing list