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 race condition on waiting for progress report to finish #95

Merged

Conversation

MetalBlueberry
Copy link
Contributor

What happens is that on close is not waiting for the goroutine to
finish, which leads to inconsistent progress reports.

This change makes sure the goroutine is part of the wait group

What happens is that on close is not waiting for the goroutine to
finish, which leads to inconsistent progress reports.

This change makes sure the goroutine is part of the wait group
@MetalBlueberry MetalBlueberry marked this pull request as ready for review November 26, 2024 18:23
@MetalBlueberry MetalBlueberry merged commit 60cba96 into main Nov 28, 2024
3 checks passed
@MetalBlueberry MetalBlueberry deleted the vperez/fix-race-condition-on-close-progress-report branch November 28, 2024 10:47
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