make sure exe is killed even when user exits the app to prevent dangling process
This commit is contained in:
@@ -99,3 +99,8 @@ function quit() {
|
||||
app.on('window-all-closed', () => {
|
||||
quit();
|
||||
});
|
||||
|
||||
// make sure child process is killed if app is quiting
|
||||
app.on('quit', () => {
|
||||
quit();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user