Closed ParallelUniv3rse closed 5 years ago
@meriadec so should we just remove this check and close the app anyway ? It's indeed a bit annoying that the mjml app icon stays in the doc, clicking it doesn't open the app
Furthermore you cannot quit the app by right-clicking the dock icon and selecting 'quit', it just ignores the command.
Annoying is also that the running mjml app is preventing the shutdown of the Mac. In order to complete the shutdown procedure you need to focus the app and then manually quit it via the top menu or by ⌘+Q
.
@kmcb777 yep go ahead :+1: i always have found this osx behaviour stupid
Describe the bug The application does not terminate upon closing it. Trying to open it again results in a "This application is not open anymore" error. It needs to be force quit every time from the top left apple icon menu.
To Reproduce Steps to reproduce the behavior:
Expected behavior The application quits normally.
Video recording http://files.wild.as/5Pirue
Environment (please complete the following information):
I tried to lookup the version number while in the "Closed but still running" state and the about window showed this up. I figured it might help.
A JavaScript error occurred in the main process
Uncaught Exception: Error: Object has been destroyed at mainWindow (/Applications/MJML.app/Contents/Resources/app.asar/webpack:/src/menu.js:26:13) at MenuItem.click (/Applications/MJML.app/Contents/Resources/electron.asar/browser/api/menu-item.js:52:9) at Function.executeCommand (/Applications/MJML.app/Contents/Resources/electron.asar/browser/api/menu.js:34:15)