🎨 后台任务按任务加入先后顺序去重执行 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

@ -504,7 +504,7 @@ func InitRepoKey() (err error) {
}
func CheckoutRepo(id string) {
task.PrependTask(task.RepoCheckout, checkoutRepo, id)
task.AppendTask(task.RepoCheckout, checkoutRepo, id)
}
func checkoutRepo(id string) {