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

Reset Async queue on fork #876

Merged
merged 1 commit into from
Jul 20, 2020
Merged

Conversation

wjordan
Copy link
Contributor

@wjordan wjordan commented Jul 1, 2020

Fixes #875 by clearing @queue when a process fork is detected in an Async object.

Copy link
Member

@pitr-ch pitr-ch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thank you for the fix.

@pitr-ch pitr-ch merged commit b4d35c3 into ruby-concurrency:master Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Async is not fork-safe
2 participants