mirror of
https://github.com/finos/SymphonyElectron.git
synced 2026-07-30 08:07:56 -05:00
sda-2140 screen share indicator is not closeable so we have to destroy it
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user