diff --git a/public/electron.js b/public/electron.js index d67c0f2d4..85dcb8cd4 100644 --- a/public/electron.js +++ b/public/electron.js @@ -195,8 +195,8 @@ app.on('activate', () => { }); app.on('quit', () => { - lndProcess && lndProcess.kill(); - btcdProcess && btcdProcess.kill(); + lndProcess && lndProcess.kill('SIGINT'); + btcdProcess && btcdProcess.kill('SIGINT'); }); app.setAsDefaultProtocolClient(PREFIX_NAME); diff --git a/test/integration/action/action-integration.spec.js b/test/integration/action/action-integration.spec.js index 198d00ae7..b2347c06e 100644 --- a/test/integration/action/action-integration.spec.js +++ b/test/integration/action/action-integration.spec.js @@ -169,9 +169,9 @@ describe('Action Integration Tests', function() { after(async () => { await Promise.all([grpc1.closeLnd(), grpc2.closeLnd()]); - lndProcess1.kill(); - lndProcess2.kill(); - btcdProcess.kill(); + lndProcess1.kill('SIGINT'); + lndProcess2.kill('SIGINT'); + btcdProcess.kill('SIGINT'); }); describe('Generate seed and unlock wallet', () => { @@ -223,7 +223,7 @@ describe('Action Integration Tests', function() { }); it('should fund wallet for node1', async () => { - btcdProcess.kill(); + btcdProcess.kill('SIGINT'); btcdArgs.miningAddress = store1.walletAddress; btcdProcess = await startBtcdProcess(btcdArgs); await nap(NAP_TIME);