Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Fix 21442: Do not call shrink for AA in finalizers #3301

Merged
merged 1 commit into from
Dec 2, 2020

Conversation

Geod24
Copy link
Member

@Geod24 Geod24 commented Dec 2, 2020

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

This can easily lead to InvalidMemoryOperation (e.g. in Vibe.d).
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @Geod24!

Bugzilla references

Auto-close Bugzilla Severity Description
21442 critical Calling AA.remove from a destructor might lead to InvalidMemoryOperationError

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "stable + druntime#3301"

@dlang-bot dlang-bot added the Bug Fix Include reference to corresponding bugzilla issue label Dec 2, 2020
@dlang-bot dlang-bot merged commit 5a6b41f into dlang:stable Dec 2, 2020
@Geod24 Geod24 deleted the workaround-21442 branch December 2, 2020 23:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Fix Include reference to corresponding bugzilla issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants