🎨 后台任务按任务加入先后顺序去重执行 Fix https://github.com/siyuan-note/siyuan/issues/7270

This commit is contained in:
Liang Ding 2023-02-07 09:20:32 +08:00
parent 9f491713ad
commit 8a7df8af78
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 40 additions and 22 deletions

View file

@ -1256,7 +1256,7 @@ func removeDoc(box *Box, p string) {
}
util.PushEvent(evt)
task.PrependTask(task.DatabaseIndex, removeDoc0, box, p, childrenDir)
task.AppendTask(task.DatabaseIndex, removeDoc0, box, p, childrenDir)
}
func removeDoc0(box *Box, p, childrenDir string) {