Skip to content

utils: If shell.run_parallel is not called before run.shell(), then the lock is not initialized nor in scope #6607

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

Merged
merged 1 commit into from
Jan 6, 2017

Conversation

erg
Copy link
Contributor

@erg erg commented Jan 6, 2017

Fix for a problem with shell.run_parallel where this function must be called before shell.run().

lock is not initialized. Thus, we initialize the lock to None and just
don't use it because no console output can happen in parallel because
we're not running in parallel.
@erg
Copy link
Contributor Author

erg commented Jan 6, 2017

@swift-ci Please smoke test

@shahmishal shahmishal merged commit 8c01531 into swiftlang:master Jan 6, 2017
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