mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-22 00:47:29 -06:00
SDA-3656 - Close placeholder window only on Windows (#1429)
This commit is contained in:
parent
d887bbddf2
commit
266e7a3aee
@ -1502,6 +1502,15 @@ export class WindowHandler {
|
||||
ipcMain.removeListener('screen-source-select', screenSourceSelect);
|
||||
this.removeWindow(opts.winKey);
|
||||
this.screenPickerWindow = null;
|
||||
if (isWindowsOS) {
|
||||
if (
|
||||
this.screenPickerPlaceholderWindow &&
|
||||
windowExists(this.screenPickerPlaceholderWindow)
|
||||
) {
|
||||
this.screenPickerPlaceholderWindow.close();
|
||||
this.screenPickerPlaceholderWindow = null;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user