浏览代码

:fire: 启动时移除处于网盘路径下的工作空间 https://github.com/siyuan-note/siyuan/issues/7790

Liang Ding 2 年之前
父节点
当前提交
6bd9c4cfe4
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      kernel/util/runtime.go

+ 2 - 0
kernel/util/runtime.go

@@ -143,6 +143,8 @@ func CheckFileSysStatus() {
 }
 
 func checkFileSysStatus() {
+	defer logging.Recover()
+
 	if IsMutexLocked(&checkFileSysStatusLock) {
 		logging.LogWarnf("check file system status is locked, skip")
 		return