Can not kill the electron process


Each time I run the ./electron, It creates 3 processes. However, after I closed the electron, I ran the pidof electron command in the terminal, It increased 3 progress numbers. And I ran ‘killall electron’ or kill 3523, it did’t work.


Did you handle this event?


You remind me a lot about the electron app life cycle. However, I set the app.on(‘window-all-closed’, () => {}). Obviously, It did not work.