Fix: file not deleted when aria2 download complete
This commit is contained in:
parent
e1aced0f01
commit
15074015b3
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue