mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-25 10:20:16 -06:00
Merge pull request #1015 from johankwarnmarksymphony/sda-2140
fix: SDA-2140: Screen share indicator does not close after reloading/closing SDA
This commit is contained in:
commit
2398ed0005
@ -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