mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🐛 桌面端内核在授权页自动退出 https://github.com/siyuan-note/insider/issues/1099
This commit is contained in:
parent
cca4eeb207
commit
2be5545dbf
3 changed files with 25 additions and 10 deletions
|
|
@ -551,8 +551,8 @@ const initKernel = (initData) => {
|
|||
writeLog('booted kernel process [pid=' + kernelProcessPid + ']')
|
||||
|
||||
kernelProcess.on('close', (code) => {
|
||||
writeLog(`kernel exited with code [${code}]`)
|
||||
if (0 !== code) {
|
||||
writeLog(`kernel exited with code [${code}]`)
|
||||
switch (code) {
|
||||
case 20:
|
||||
showErrorWindow('⚠️ 数据库被锁定 The database is locked',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue