mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-01 01:35:11 +00:00
null rendererwindow window on quit
Checking to see if this fixes object has been destroyed error on Mac.
This commit is contained in:
parent
12940ac230
commit
37eef522b1
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…
Add table
Reference in a new issue