[Issue 14868] MmFile destructor seems to corrupt memory
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Aug 5 13:48:39 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14868
--- Comment #4 from Maxim Fomin <mxfomin at gmail.com> ---
(In reply to Sergei Degtiarev from comment #3)
> The MmFile destructor is called after main() termination and throws
> exception while trying to clean up the memory.
Sounds like class dtor invokes gc. Because current GC implementation is not
reenterant, such code in not supported.
--
More information about the Digitalmars-d-bugs
mailing list