Fix: panic while decompress files / Cannot edit policy

This commit is contained in:
HFO4
2020-03-11 09:34:29 +08:00
parent 45ec4b3f8b
commit b6e1e04ce0
4 changed files with 5 additions and 4 deletions

View File

@@ -78,7 +78,6 @@ func (job *DecompressTask) Do() {
job.SetErrorMsg("无法创建文件系统", err)
return
}
defer fs.Recycle()
job.TaskModel.SetProgress(DecompressingProgress)
err = fs.Decompress(context.Background(), job.TaskProps.Src, job.TaskProps.Dst)