ref/ set allowRendererProcessReuse to true
This commit is contained in:
2
main.ts
2
main.ts
@@ -53,6 +53,8 @@ function createWindow(): BrowserWindow {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
app.allowRendererProcessReuse = true;
|
||||||
|
|
||||||
// This method will be called when Electron has finished
|
// This method will be called when Electron has finished
|
||||||
// initialization and is ready to create browser windows.
|
// initialization and is ready to create browser windows.
|
||||||
// Some APIs can only be used after this event occurs.
|
// Some APIs can only be used after this event occurs.
|
||||||
|
|||||||
Reference in New Issue
Block a user