Ask Your Question
4

Why is the application process not being terminated by electron, despite using app.quit()?

asked 2022-01-16 11:00:00 +0000

pufferfish gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-12-17 17:00:00 +0000

plato gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-01-16 11:00:00 +0000

Seen: 12 times

Last updated: Dec 17 '22