Use normal shutdown infrastructure to hang up active calls
This commit is contained in:
parent
c4ddd3977d
commit
7e1c147eac
3 changed files with 11 additions and 10 deletions
|
@ -2000,10 +2000,6 @@ app.on('before-quit', () => {
|
|||
|
||||
systemTrayService?.markShouldQuit();
|
||||
windowState.markShouldQuit();
|
||||
|
||||
if (mainWindow) {
|
||||
mainWindow.webContents.send('quit');
|
||||
}
|
||||
});
|
||||
|
||||
// Quit when all windows are closed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue