Fix 1698 #1727
1 changed files with 4 additions and 0 deletions
|
@ -122,6 +122,10 @@ app.on('will-quit', event => {
|
||||||
daemon.quit();
|
daemon.quit();
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (rendererWindow) {
|
||||||
|
rendererWindow = null;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// https://electronjs.org/docs/api/app#event-will-finish-launching
|
// https://electronjs.org/docs/api/app#event-will-finish-launching
|
||||||
|
|
Loading…
Reference in a new issue