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

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();
});