Hang up any active calls when quitting
This commit is contained in:
parent
563f016245
commit
7edf3763a8
2 changed files with 10 additions and 0 deletions
|
@ -1700,6 +1700,10 @@ app.on('before-quit', () => {
|
|||
});
|
||||
|
||||
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