From 6bd9c4cfe428d86b50859ea626a3f8e94ee4eb51 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 28 Mar 2023 08:46:44 +0800 Subject: [PATCH] =?UTF-8?q?:fire:=20=E5=90=AF=E5=8A=A8=E6=97=B6=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E5=A4=84=E4=BA=8E=E7=BD=91=E7=9B=98=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E4=B8=8B=E7=9A=84=E5=B7=A5=E4=BD=9C=E7=A9=BA=E9=97=B4=20https:?= =?UTF-8?q?//github.com/siyuan-note/siyuan/issues/7790?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/util/runtime.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/util/runtime.go b/kernel/util/runtime.go index 322c92fbf..21e1058d1 100644 --- a/kernel/util/runtime.go +++ b/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