Fix: file not deleted when aria2 download complete

This commit is contained in:
HFO4 2020-03-15 09:18:15 +08:00
parent e1aced0f01
commit 15074015b3

View file

@ -78,6 +78,8 @@ func (job *TransferTask) GetError() *JobError {
// Do 开始执行任务
func (job *TransferTask) Do() {
defer job.Recycle()
// 创建文件系统
fs, err := filesystem.NewFileSystem(job.User)
if err != nil {