December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=9334

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

--
January 31, 2023
https://issues.dlang.org/show_bug.cgi?id=9334

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305@gmail.com
         Resolution|---                         |WORKSFORME

--- Comment #4 from RazvanN <razvan.nitu1305@gmail.com> ---
This has been fixed. Running the code in the OP I get:

0 dtor

It seems that the memory is allocated and it is destroyed at the end of the program. This is the correct behavior.

--