[Issue 14650] Destructors are not called on global variables

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 6 01:27:58 UTC 2018


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

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com

--- Comment #5 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Not calling destructors of thread-local variables at the end of the program
could potentially be considered expected behavior.

But not calling them at the end of thread termination is a big problem. As D
gets closer to reference counting, sane destruction calls are going to become
more and more important.

--


More information about the Digitalmars-d-bugs mailing list