From ec7afc693b2629a052b17cdd11b26b5237c5b795 Mon Sep 17 00:00:00 2001 From: Andrew Simachev Date: Fri, 10 May 2024 13:50:24 +0200 Subject: [PATCH] JS-4473: fix --- electron.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron.js b/electron.js index d7865ba49b..c1730fc10e 100644 --- a/electron.js +++ b/electron.js @@ -115,7 +115,7 @@ function createWindow () { e.preventDefault(); const onClose = () => { - is.macos ? mainWindow.hide() : Api.exit(mainWindow, '', false); + mainWindow.hide(); }; if (mainWindow.isFullScreen()) {