From 741318b18d309c418234b51b872498012c268749 Mon Sep 17 00:00:00 2001 From: Martin Varmuza Date: Fri, 4 Oct 2024 13:23:55 +0200 Subject: [PATCH] fix(suite-desktop): app reset on mac --- packages/suite-desktop-core/src/libs/app-utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/suite-desktop-core/src/libs/app-utils.ts b/packages/suite-desktop-core/src/libs/app-utils.ts index 9f87a4fe324..c2afe09e5e0 100644 --- a/packages/suite-desktop-core/src/libs/app-utils.ts +++ b/packages/suite-desktop-core/src/libs/app-utils.ts @@ -14,7 +14,8 @@ export const restartApp = () => { options.args.unshift('--appimage-extract-and-run'); } - app.removeAllListeners('before-quit'); + // too: not sure why it was here + // app.removeAllListeners('before-quit'); app.relaunch(); app.quit(); };