Application prevents machine from shut down / restart
See original GitHub issueDescribe the Bug
When trying to shut down or restart on a macOS machine, the Camunda Modeler application prevents from doing it by hanging up.
The current workaround is to manually close the application afterward.
Steps to Reproduce
- Open Camunda Modeler, no files have to be open
- Try to shut down or restart OS from the application menu
- See that Camunda Modeler is not terminating
Expected Behavior
The application should terminate and the shutdown/restart should be going on.
Environment
- OS: macOS 10.15.4 / 11.2.3 (https://github.com/camunda/camunda-modeler/issues/2230)
- Camunda Modeler Version: 4.0.0-alpha.3, but also older versions (tested on 3.7, 3.3, 3.0)
Additional Resources
I attached the logs from the Modeler application after the quit was initiated
2020-05-18T08:26:48.935Z INFO app:main asking client to allow quit
2020-05-18T08:26:48.938Z INFO app:main quit allowed
2020-05-18T08:26:48.938Z INFO app:main initating close of main window
2020-05-18T08:26:48.938Z INFO app:main main window closed
2020-05-18T08:26:48.939Z INFO app:mac-os Keeping app in the dock
See how the app is not terminating mode afterward, cf. window-all-closed
handler
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
An application is preventing me from shutting down/restarting
I just got this computer and every time I go to shut down or restart, an application/process is preventing it from shutting down...
Read more >How to Fix This App Is Preventing Shutdown or Restart Error ...
How to Fix This App Is Preventing Shutdown or Restart Error in Windows 10 .While Restart or shutdown Windows Laptop/ PC getting This...
Read more >How to Disable “This App Is Preventing Shutdown or Restart ...
How to Disable “This App Is Preventing Shutdown or Restart ” Screen [Tutorial]String Name: AutoEndTasksString Value: 1Some Windows users are ...
Read more >This App Is Preventing Shutdown Message Windows 10 FIX
Solved: This App Is Preventing Shutdown Message Windows 10 FIX.While Restart or shutdown Windows Laptop/ PC getting This app is preventing ...
Read more >Disable This app is preventing shutdown message in ...
Here's how to disable Closing apps and shutting down/restarting, This app is preventing shutdown/restart shutdown message on Windows 11/10.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If that does not cause any side effects with the “app stays open on MacOS” behavior.
From what I understand apps remain running on MacOS until forcefully closed. We should not unbuild that feature.
We do a force close in dev mode (cf.
dev.js
)Is there a reason why we don’t do this also in production? This way we could also close all the windows gracefully as other apps do it (https://github.com/camunda/camunda-modeler/issues/1803#issuecomment-827616545) - or simply force closing.