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

make odds of 'process added after close' panic less likely #3940

Merged
merged 1 commit into from
May 25, 2017

Conversation

whyrusleeping
Copy link
Member

Theres still a very small chance it could happen, but this makes it much much less likely.

License: MIT
Signed-off-by: Jeromy jeromyj@gmail.com

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
@Kubuxu
Copy link
Member

Kubuxu commented May 24, 2017

Feels like an bandaid (the proper solution would be not to panic there and return error) but LGTM.

@whyrusleeping
Copy link
Member Author

@Kubuxu yeah... its a bandaid. I don't feel like attempting to redesign goprocess right now though

It probably does make sense to have Go return an error.

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