Fix lbrynet not starting #2344
1 changed files with 7 additions and 0 deletions
|
@ -70,4 +70,11 @@ mainInstance.waitUntilValid(() => {
|
|||
child.stdout.on('data', (data) => {
|
||||
console.log(data.toString());
|
||||
});
|
||||
|
||||
process.on('SIGINT', function() {
|
||||
console.log('Killing threads...');
|
||||
|
||||
child.kill('SIGINT');
|
||||
process.exit();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue