From f63c61b50dcbbfa56d4944f3f923b81096a9757c Mon Sep 17 00:00:00 2001 From: Kiran Niranjan Date: Wed, 5 Jan 2022 15:02:36 +0530 Subject: [PATCH] SDA-3530 (Clear snippet window reference after close) (#1312) * SDA-3530 - Clear snippet window reference after close * SDA-3530 - Update about app snapshot --- spec/__snapshots__/aboutApp.spec.ts.snap | 2 +- src/app/window-handler.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/__snapshots__/aboutApp.spec.ts.snap b/spec/__snapshots__/aboutApp.spec.ts.snap index c3a539db..1bbdd2c9 100644 --- a/spec/__snapshots__/aboutApp.spec.ts.snap +++ b/spec/__snapshots__/aboutApp.spec.ts.snap @@ -28,7 +28,7 @@ exports[`about app should render correctly 1`] = `

- © 2021 Symphony + © 2022 Symphony

diff --git a/src/app/window-handler.ts b/src/app/window-handler.ts index 518e29ed..37bbc43e 100644 --- a/src/app/window-handler.ts +++ b/src/app/window-handler.ts @@ -1317,6 +1317,7 @@ export class WindowHandler { public closeSnippingToolWindow() { if (this.snippingToolWindow && windowExists(this.snippingToolWindow)) { this.snippingToolWindow.close(); + this.snippingToolWindow = null; } }