[Issue 14036] Do not throw FinalizeError on OutOfMemoryError or InvalidMemoryOperationError

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jan 27 00:22:34 PST 2015


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

--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/73d7a44eb18f6889ef32e02fd15a8c567e8cfb6d
fix Issue 14036 - Do not throw FinalizeError on OutOfMemoryError or
InvalidMemoryOperationError

This changes FinalizeError to be thrown only when an Exception is thrown,
with the disadvantage of not catching non-Exception Throwables and the
advantage of preserving the stack trace for the code that caused
InvalidMemoryOperationError.

https://github.com/D-Programming-Language/druntime/commit/cfe3eb5a2bf0d9a67fba8aa621c8a076c8c74124
Merge pull request #1123 from CyberShadow/pull-20150124-201947

fix Issue 14036 - Do not throw FinalizeError on OutOfMemoryError or Inva...

--


More information about the Digitalmars-d-bugs mailing list