[Issue 21442] Calling AA.remove from a destructor might lead to InvalidMemoryOperationError

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 21 01:01:39 UTC 2020


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

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/druntime pull request #3315 "merge stable" was merged into master:

- 5a6b41f69a8749a0c30d3a8bbe790aff6d91e175 by Geod24:
  Fix 21442: Do not call shrink for AA in finalizers

  This can easily lead to InvalidMemoryOperation (e.g. in Vibe.d).

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

--


More information about the Digitalmars-d-bugs mailing list