mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-11-01 10:36:30 +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 开始执行任务
|
// Do 开始执行任务
|
||||||
func (job *TransferTask) Do() {
|
func (job *TransferTask) Do() {
|
||||||
|
defer job.Recycle()
|
||||||
|
|
||||||
// 创建文件系统
|
// 创建文件系统
|
||||||
fs, err := filesystem.NewFileSystem(job.User)
|
fs, err := filesystem.NewFileSystem(job.User)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user