Difference between app.exit() and process.exit()?


#1

What is the difference between these two methods? I do not see any documentation in regards to process.exit() (https://github.com/electron/electron/blob/master/docs/api/process.md) even though it is there.


#2

process.exit is a Node API, so I would assume that it may not do all the right things with regard to an Electron application.