移除过时的选项
parent
421abac30a
commit
a65bae8243
|
@ -46,7 +46,7 @@ const { isMac, isLinux, initHotKey } = require('../common/utils')
|
||||||
// https://github.com/electron/electron/issues/18397
|
// https://github.com/electron/electron/issues/18397
|
||||||
// 开发模式下为true时 多次引入native模块会导致渲染进程卡死
|
// 开发模式下为true时 多次引入native模块会导致渲染进程卡死
|
||||||
// https://github.com/electron/electron/issues/22791
|
// https://github.com/electron/electron/issues/22791
|
||||||
app.allowRendererProcessReuse = !isDev
|
// app.allowRendererProcessReuse = !isDev
|
||||||
|
|
||||||
|
|
||||||
app.on('web-contents-created', (event, contents) => {
|
app.on('web-contents-created', (event, contents) => {
|
||||||
|
|
Loading…
Reference in New Issue