mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-11-01 00:57:15 +08:00
Fix: file not deleted when aria2 download complete
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user