mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-27 16:10:32 +00:00
make sure exe is killed even when user exits the app to prevent dangling process
This commit is contained in:
parent
d39dc42dbf
commit
baca6d608f
1 changed files with 5 additions and 0 deletions
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue