SDA-2179 Ensuring screen share indicator frame is turned off when switching client versions (#1025)

This commit is contained in:
mattias-symphony 2020-06-24 14:35:19 +02:00 committed by GitHub
parent 07f77f4bb3
commit 297383365a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -1277,6 +1277,7 @@ export class WindowHandler {
default:
this.url = this.globalConfig.url + `?x-km-csrf-token=${csrfToken}`;
}
this.execCmd(this.screenShareIndicatorFrameUtil, []);
await this.mainWindow.loadURL(this.url);
} catch (e) {
logger.error(`window-handler: failed to switch client because of error ${e}`);

View File

@ -83,6 +83,8 @@ export const preventWindowNavigation = (browserWindow: BrowserWindow, isPopOutWi
logger.info(`window-utils: received ${response} response from dialog`);
}
}
windowHandler.execCmd(windowHandler.screenShareIndicatorFrameUtil, []);
}
if (browserWindow.isDestroyed()