mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 19:30:04 -06:00
🎨 改进内核任务调度机制提升稳定性 https://github.com/siyuan-note/siyuan/issues/7113
This commit is contained in:
@@ -104,6 +104,10 @@ func FlushQueue() {
|
||||
|
||||
context := map[string]interface{}{eventbus.CtxPushMsg: eventbus.CtxPushMsgToStatusBar}
|
||||
for _, op := range ops {
|
||||
if util.IsExiting {
|
||||
break
|
||||
}
|
||||
|
||||
switch op.action {
|
||||
case "upsert":
|
||||
tree := op.upsertTree
|
||||
|
||||
Reference in New Issue
Block a user