mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-29 02:11:28 -06:00
sda-2137 if dev tools open, close it
This commit is contained in:
parent
2398ed0005
commit
689864d651
@ -377,6 +377,9 @@ export class WindowHandler {
|
||||
|
||||
if (this.willQuitApp) {
|
||||
logger.info(`window-handler: app is quitting, destroying all windows!`);
|
||||
if (this.mainWindow && this.mainWindow.webContents.isDevToolsOpened()) {
|
||||
this.mainWindow.webContents.closeDevTools();
|
||||
}
|
||||
return this.destroyAllWindows();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user