mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-29 02:11:28 -06:00
Merge pull request #1016 from johankwarnmarksymphony/sda-2137
fix: SDA-2137: Cannot close SDA when opening dev tool in separated window
This commit is contained in:
commit
3dea645fb5
@ -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