Fix lbrynet not starting #2344

Merged
skhameneh merged 3 commits from fix-lbrynet into master 2019-03-16 05:07:15 +01:00
Showing only changes of commit 0f2ffa696d - Show all commits

View file

@ -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();
});
});