mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-22 07:11:01 +00:00
honour context being done
This commit is contained in:
parent
cc2f8032c7
commit
d940f2e7ab
1 changed files with 2 additions and 0 deletions
|
|
@ -317,6 +317,8 @@ outer:
|
|||
|
||||
if errorCount > 0 {
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
return
|
||||
case err := <-errChan:
|
||||
onError(err)
|
||||
continue outer
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue