Browse Source

Merge pull request #813 from gre/no-zombie

BUGFIX: internal: process.exit on disconnect
master
Gaëtan Renaudeau 7 years ago
committed by GitHub
parent
commit
2ccdcc4ab1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/internals/index.js

6
src/internals/index.js

@ -9,7 +9,7 @@ import { serializeError } from 'helpers/errors'
require('../env')
process.title = 'Internal'
process.title = 'Ledger Live Internal'
process.on('uncaughtException', err => {
process.send({
@ -113,4 +113,8 @@ process.on('message', m => {
}
})
process.on('disconnect', () => {
process.exit(0)
})
logger.log('Internal process is up!')

Loading…
Cancel
Save