Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify mutability of concurrent hash when each_value is running #218

Closed
mensfeld opened this issue Nov 30, 2021 · 1 comment · Fixed by #219
Closed

Verify mutability of concurrent hash when each_value is running #218

mensfeld opened this issue Nov 30, 2021 · 1 comment · Fixed by #219
Labels

Comments

@mensfeld
Copy link
Member

A corner case came to my mind. During the concurrent hash iteration, we may modify it. It should either work or we should extract values and iterate on them while injecting new callbacks.

@mensfeld
Copy link
Member Author

can't add a new key into hash during iteration (RuntimeError)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

1 participant