Avoid calling tray.destroy()
when quitting
This commit is contained in:
parent
dff941adc7
commit
3aa488c3d5
3 changed files with 50 additions and 3 deletions
|
@ -1729,6 +1729,7 @@ app.on('before-quit', () => {
|
|||
shouldQuit: windowState.shouldQuit(),
|
||||
});
|
||||
|
||||
systemTrayService?.markShouldQuit();
|
||||
windowState.markShouldQuit();
|
||||
|
||||
if (mainWindow) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue