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

progress: fix race on pausing progress on debug shell #3003

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

tonistiigi
Copy link
Member

Current progress writer has a logic of pausing/unpausing the printer and internally recreating internal channels.

This conflicts with a change that added sync.Once to Wait to allow it being called multiple times without erroring.

In debug shell this could mean that new progress printer showed up in debug shell because it was not closed.

cc097db

Current progress writer has a logic of pausing/unpausing
the printer and internally recreating internal channels.

This conflicts with a change that added sync.Once to Wait
to allow it being called multiple times without erroring.

In debug shell this could mean that new progress printer
showed up in debug shell because it was not closed.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi requested a review from crazy-max February 18, 2025 05:05
@crazy-max crazy-max added this to the v0.21.0 milestone Feb 18, 2025
@crazy-max crazy-max merged commit 52f503e into docker:master Feb 18, 2025
127 checks passed
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