[Issue 21693] extern(C++) class instance dtors are never called, breaking RAII

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 15 23:41:35 UTC 2021


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

thomas.bockman at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |major

--- Comment #6 from thomas.bockman at gmail.com ---
I'm dropping the priority from "critical" to "major" now that destruction is
performed for `scope` instances, since the GC doesn't strictly guarantee
deterministic destruction even for D class instances.

Thanks, @moonlightsentinel!

--


More information about the Digitalmars-d-bugs mailing list