[Issue 21996] -checkaction=context triggers InvalidMemoryOperationError in finalizer

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 7 16:29:24 UTC 2021


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/druntime pull request #3493 "Fix 21996 - Skip message formatting for
checkaction=context in finalizer" was merged into stable:

- b2514d0a42b5490dd3591bcf449eac481bcf8527 by MoonlightSentinel:
  Fix 21996 - Skip message formatting for checkaction=context in finalizer

  The message formatting isn't `@nogc` yet and hence caused an
  `InvalidMemoryOperationError` when called from a finalizer.

https://github.com/dlang/druntime/pull/3493

--


More information about the Digitalmars-d-bugs mailing list