[Issue 2834] Struct Destructors are not called by the GC, but called on explicit delete.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jul 4 15:21:53 PDT 2014


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

Orvid King <blah38621 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |blah38621 at gmail.com

--- Comment #17 from Orvid King <blah38621 at gmail.com> ---
https://github.com/D-Programming-Language/druntime/pull/864

It's not feasibly possible to call destructors on heap-allocated arrays of
structures, however this PR does implement the calling of destructors for
structs allocated directly on the heap.

--


More information about the Digitalmars-d-bugs mailing list