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

This commit is contained in:
Liang Ding 2022-10-25 09:44:37 +08:00
parent 7287729b8e
commit d1d9b7a3b2
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 1 additions and 5 deletions

View file

@ -603,10 +603,6 @@ const initKernel = (initData) => {
}
const getKernelPort = async () => {
if (isDevEnv) {
return kernelPort
}
await sleep(200)
let gotPort = false
let count = 0