Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There could be a few different reasons for this. Here are some possible ones:

  1. There could be other open windows or processes still running that are preventing the application from fully quitting. Make sure to close all windows and stop any running processes before calling app.quit().

  2. It's possible that some asynchronous task or code is blocking the app.quit() call from completing. Try using the before-quit event to clean up any outstanding tasks or code before quitting.

  3. If there are still any listeners registered to events, they might be preventing the application from quitting. Make sure to remove all event listeners before calling app.quit().

  4. Finally, it's possible that there is a bug or issue in the Electron framework itself that is preventing the process from quitting. Check the Electron issue tracker or forum to see if others have reported similar issues.