From 0ecac469085a1f828855a4b6be12ecb8092abfc1 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Fri, 5 Aug 2022 16:04:43 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E6=8F=92=E5=85=A5/=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E6=96=87=E4=BB=B6=E5=AF=BC=E8=87=B4=E5=86=85?= =?UTF-8?q?=E6=A0=B8=E5=B4=A9=E6=BA=83=20https://github.com/siyuan-note/si?= =?UTF-8?q?yuan/issues/5574?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/assets_watcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/assets_watcher.go b/kernel/model/assets_watcher.go index ef2ebad03..b12e08da8 100644 --- a/kernel/model/assets_watcher.go +++ b/kernel/model/assets_watcher.go @@ -53,7 +53,7 @@ func watchAssets() { } go func() { - logging.Recover() + defer logging.Recover() var ( timer *time.Timer