mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-07 17:10:29 +00:00
ci: improve name
This commit is contained in:
1 parent
dccf080fbb
commit
ff4e6f448c
2 files changed
+9
-6
No files matched your search
@@ -141,8 +141,11 @@ func (f *Fetcher) Pause() (err error) {
|
||||
return
|
||||
}
|
||||
f.status = base.DownloadStatusPause
|
||||
f.cancel()
|
||||
<-f.pauseCh
|
||||
|
||||
if f.cancel != nil {
|
||||
f.cancel()
|
||||
<-f.pauseCh
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user