mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Improve kernel stability by eliminating some data races https://github.com/siyuan-note/siyuan/issues/9842
This commit is contained in:
@@ -67,7 +67,7 @@ func FlushAssetContentQueue() {
|
||||
context := map[string]interface{}{eventbus.CtxPushMsg: eventbus.CtxPushMsgToStatusBar}
|
||||
groupOpsCurrent := map[string]int{}
|
||||
for i, op := range ops {
|
||||
if util.IsExiting {
|
||||
if util.IsExiting.Load() {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user