[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 18:56:19 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21442
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@Geod24 created dlang/druntime pull request #3301 "Fix 21442: Do not call
shrink for AA in finalizers" fixing this issue:
- 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