mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-09 01:50:30 +00:00
fix: task can not completed (#280)
This commit is contained in:
3 files changed
+51
-5
No files matched your search
@@ -635,6 +635,8 @@ func (d *Downloader) restoreFetcher(task *Task) error {
|
||||
task.fetcher.Meta().Res = task.Meta.Res
|
||||
}
|
||||
go d.watch(task)
|
||||
} else if task.Status == base.DownloadStatusError {
|
||||
go d.watch(task)
|
||||
}
|
||||
task.fetcher.Create(task.Meta.Opts)
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user