Calling app.exit() from remote (renderer process) in child window closes child window, not whole application


#1

Anyone else experience this issue? Trying to figure out If i’m experiencing a bug or if I’m just misusing something…


#2

Figured it out, sorta.

I had to implement a ipc channel to receive the exit command, but then I had to exit TWICE using app.exit(0). It seems calling it once only kills the child/modal window, not the entire app.


#3

Have you followed the pattern in the Electron Quick Start Guide? It’s always worked properly for me.