浏览代码

:recycle: Implement some delayed kernel events using task queues https://github.com/siyuan-note/siyuan/issues/12393

Daniel 10 月之前
父节点
当前提交
58032e538c
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      kernel/task/queue.go

+ 4 - 0
kernel/task/queue.go

@@ -178,6 +178,10 @@ func StatusJob() {
 			}
 		}
 
+		if "" == action {
+			continue
+		}
+
 		item := map[string]interface{}{"action": action}
 		items = append(items, item)
 	}