[Issue 21442] Calling AA.remove from a destructor might lead to InvalidMemoryOperationError
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Dec 2 23:32:46 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21442
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 #3301 "Fix 21442: Do not call shrink for AA in
finalizers" was merged into stable:
- c5d3156ee98650f8055c39247f4e626b1b3abe11 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/3301
--
More information about the Digitalmars-d-bugs
mailing list