mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +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 {
|
if errorCount > 0 {
|
||||||
select {
|
select {
|
||||||
|
case <-ctx.Done():
|
||||||
|
return
|
||||||
case err := <-errChan:
|
case err := <-errChan:
|
||||||
onError(err)
|
onError(err)
|
||||||
continue outer
|
continue outer
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue