🎨 桌面端内核进程使用随机端口 https://github.com/siyuan-note/siyuan/issues/4952

This commit is contained in:
Liang Ding 2022-10-25 11:19:56 +08:00
parent 668a845be0
commit c61ba7b2d7
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -630,7 +630,7 @@ const initKernel = (initData) => {
await sleep(100)
} finally {
count++
if (32 < count) {
if (64 < count) {
writeLog('get kernel port failed [pid=' + kernelProcessPid + ']')
bootWindow.destroy()
resolve(false)