Merge pull request #3003 from tonistiigi/debug-progress-fix

progress: fix race on pausing progress on debug shell
This commit is contained in:
CrazyMax 2025-02-18 10:58:51 +01:00 committed by GitHub
commit 52f503e806
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -122,6 +122,7 @@ func NewPrinter(ctx context.Context, out console.File, mode progressui.DisplayMo
for {
pw.status = make(chan *client.SolveStatus)
pw.done = make(chan struct{})
pw.closeOnce = sync.Once{}
pw.logMu.Lock()
pw.logSourceMap = map[digest.Digest]interface{}{}