mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
fix(upgrader): close of closed channel
This commit is contained in:
parent
6ae85e00a1
commit
be59730756
1 changed files with 0 additions and 1 deletions
|
@ -98,7 +98,6 @@ func downloadRelease(url string, dir string, progressChan chan float64) (tarName
|
|||
multiWriter := io.MultiWriter(progressWriter)
|
||||
|
||||
_, err = io.Copy(multiWriter, resp.Body)
|
||||
close(progressChan)
|
||||
|
||||
tarName = file.Name()
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue