Merge pull request #954 from mattias-symphony/SDA-1927

fix: SDA-1927 Remove screen share indicator frame when quit SDA
This commit is contained in:
mattias-symphony 2020-04-01 09:37:27 +02:00 committed by GitHub
commit 5e5e5414b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -339,6 +339,9 @@ export class WindowHandler {
this.mainWindow.once('closed', () => {
logger.info(`window-handler: main window closed, destroying all windows!`);
if (isWindowsOS || isMac) {
this.execCmd(this.screenShareIndicatorFrameUtil, []);
}
this.destroyAllWindows();
});