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

Fix poison deadlocking on non-existing pids #161

Merged
merged 2 commits into from
Aug 18, 2024

Conversation

tralafiti
Copy link
Contributor

When poisoning a non-existing (e.g. already crashed) pid, the waitGroup would deadlock.

Added test and fixed by only incrementing waitGroup if the process was found.

@anthdm anthdm merged commit 393374f into anthdm:master Aug 18, 2024
1 check passed
@anthdm
Copy link
Owner

anthdm commented Aug 18, 2024

Thanks a lot for this!

@tralafiti tralafiti deleted the poisonDeadlock branch August 19, 2024 07:23
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.

2 participants