mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-05 07:01:48 +01:00
🎨 使用第三方同步盘时弹出提示并退出内核 https://github.com/siyuan-note/siyuan/issues/7683
This commit is contained in:
parent
42454bf03b
commit
da2f604e6d
1 changed files with 5 additions and 0 deletions
|
|
@ -144,6 +144,11 @@ func CheckFileSysStatus() {
|
|||
}
|
||||
|
||||
func checkFileSysStatus() {
|
||||
if IsMutexLocked(&checkFileSysStatusLock) {
|
||||
logging.LogWarnf("check file system status is locked, skip")
|
||||
return
|
||||
}
|
||||
|
||||
checkFileSysStatusLock.Lock()
|
||||
defer checkFileSysStatusLock.Unlock()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue