digitalmars.D.bugs - [Issue 13722] New: onFinalizeError should not allocate
- via Digitalmars-d-bugs (17/17) Nov 12 2014 https://issues.dlang.org/show_bug.cgi?id=13722
https://issues.dlang.org/show_bug.cgi?id=13722 Issue ID: 13722 Summary: onFinalizeError should not allocate Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: druntime Assignee: nobody puremagic.com Reporter: thecybershadow gmail.com As our GC is non-reentrant, allocating during a GC run (when invoked by the GC for finalization) is invalid. Thus, onFinalizeError should use the same pattern as onOutOfMemoryError to avoid allocating memory. --
Nov 12 2014