diff --git a/src/app/window-handler.ts b/src/app/window-handler.ts index f8cc038a..b309b166 100644 --- a/src/app/window-handler.ts +++ b/src/app/window-handler.ts @@ -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; + } + } }); }