mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 Improve kernel stability by eliminating some data races https://github.com/siyuan-note/siyuan/issues/9842
This commit is contained in:
parent
f9d476ebf5
commit
1d54de679f
7 changed files with 83 additions and 62 deletions
|
|
@ -387,7 +387,7 @@ func performSync(c *gin.Context) {
|
|||
mobileSwitch = mobileSwitchArg.(bool)
|
||||
}
|
||||
if mobileSwitch {
|
||||
if nil == model.Conf.User || !model.Conf.Sync.Enabled {
|
||||
if nil == model.Conf.GetUser() || !model.Conf.Sync.Enabled {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue