Skip to content

Commit 52f503e

Browse files
authored
Merge pull request #3003 from tonistiigi/debug-progress-fix
progress: fix race on pausing progress on debug shell
2 parents faa573f + 79a9784 commit 52f503e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

util/progress/printer.go

+1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ func NewPrinter(ctx context.Context, out console.File, mode progressui.DisplayMo
122122
for {
123123
pw.status = make(chan *client.SolveStatus)
124124
pw.done = make(chan struct{})
125+
pw.closeOnce = sync.Once{}
125126

126127
pw.logMu.Lock()
127128
pw.logSourceMap = map[digest.Digest]interface{}{}

0 commit comments

Comments
 (0)