Can not kill the electron process


#1

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.


#2

Did you handle this event?


#3

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.