Browse Source

Kill usb process when main exit

master
meriadec 7 years ago
parent
commit
f2f29d4ad4
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 2
      src/main/bridge.js

2
src/main/bridge.js

@ -26,6 +26,8 @@ function onChannelUsb(callType) {
compute.kill()
}
})
process.on('exit', () => compute.kill('SIGINT'))
}
}

Loading…
Cancel
Save