mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #39761 from tonistiigi/ctx-upload-cancel
builder-next: close build context upload on cancel
This commit is contained in:
commit
0c46a20f94
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ func (h *reqBodyHandler) newRequest(rc io.ReadCloser) (string, func()) {
|
|||
h.mu.Lock()
|
||||
delete(h.requests, id)
|
||||
h.mu.Unlock()
|
||||
rc.Close()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue