mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-25 10:20:16 -06:00
sda-2140 screen share indicator is not closeable so we have to destroy it
This commit is contained in:
parent
6e3e53aa38
commit
9fe91a3b78
@ -562,7 +562,11 @@ export class WindowHandler {
|
||||
if (browserWindow && windowExists(browserWindow)) {
|
||||
// Closes only child windows
|
||||
if (browserWindow.winName !== apiName.mainWindowName && browserWindow.winName !== apiName.notificationWindowName) {
|
||||
browserWindow.close();
|
||||
if (browserWindow.closable) {
|
||||
browserWindow.close();
|
||||
} else {
|
||||
browserWindow.destroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user