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

Replace process cache with safe alternative #1378

Merged
merged 1 commit into from
Sep 19, 2016
Merged

Replace process cache with safe alternative #1378

merged 1 commit into from
Sep 19, 2016

Conversation

sillyotter
Copy link
Contributor

ProcessHelper contains a HashSet that is used to capture process id's of all executed processes for later termination. Starting processes up in a parallel fashion can corrupt this HashSet. Replacing it with a ConcurrentBag fixes the issue.

This fixes #1374

ProcessHelper contains a HashSet that is used to capture process id's of
all executed processes for later termination.  Starting processes up in
a parallel fashion can corrupt this HashSet.  Replacing it with a
ConcurrentBag fixes the issue.

This fixes #1374
@forki forki merged commit fd6a04e into fsprojects:master Sep 19, 2016
@forki
Copy link
Member

forki commented Sep 19, 2016

thx!

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