December 17, 2022 [Issue 9334] Dtor and postblit for struct heap object are not always called | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9334 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P3 -- |
January 31, 2023 [Issue 9334] Dtor and postblit for struct heap object are not always called | ||||
---|---|---|---|---|
| ||||
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. -- |
Copyright © 1999-2021 by the D Language Foundation