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: thread safety for Manual functions #1

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

kzantow
Copy link
Contributor

@kzantow kzantow commented Mar 1, 2023

This PR fixes an issue that the progress.Manual was not being used in a thread-safe way due to exported variables without synchronization.

Related to: anchore/syft#1633

Copy link
Owner

@wagoodman wagoodman left a comment

Choose a reason for hiding this comment

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

🙌

@wagoodman wagoodman merged commit 21920a4 into wagoodman:master Mar 1, 2023
@kzantow kzantow deleted the fix/thread-safe-manual branch March 1, 2023 19:01
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