mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🐛 macOS 端报错 数据库被锁定 Fix https://github.com/siyuan-note/siyuan/issues/6492
This commit is contained in:
parent
949e21ee09
commit
b0fe8b49ba
1 changed files with 2 additions and 0 deletions
|
|
@ -460,6 +460,8 @@ func corsMiddleware() gin.HandlerFunc {
|
|||
}
|
||||
|
||||
func killRunningKernel() {
|
||||
defer logging.Recover()
|
||||
|
||||
if "dev" == util.Mode {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue