Fix 1698 #1727

Merged
tzarebczan merged 2 commits from fix-mac-undefined into master 2018-07-03 17:43:30 +02:00
Showing only changes of commit 37eef522b1 - Show all commits

View file

@ -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