mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SDA-3520 Kill screen share indicator frame before reloading (#1310)
This commit is contained in:
parent
3cbd7dbf2c
commit
3b5b59f945
@ -402,9 +402,13 @@ export const sanitize = (windowName: string): void => {
|
||||
// reset the badge count whenever an user refreshes the electron client
|
||||
showBadgeCount(0);
|
||||
|
||||
// Terminates the screen snippet process on reload
|
||||
// Terminates the screen snippet process and screen share indicator frame on reload
|
||||
if (!isMac || !isLinux) {
|
||||
logger.info(
|
||||
'window-utils: Terminating screen snippet and screen share indicator frame utils',
|
||||
);
|
||||
screenSnippet.killChildProcess();
|
||||
windowHandler.execCmd(windowHandler.screenShareIndicatorFrameUtil, []);
|
||||
}
|
||||
// Closes all the child windows
|
||||
windowHandler.closeAllWindows();
|
||||
|
Loading…
Reference in New Issue
Block a user