Skip to content

Commit

Permalink
try fix linux kill
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Jan 19, 2024
1 parent b1c899b commit 4921f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-node-koa.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const killSubProcess = (cp) => {

// In case of POSIX and `SIGINT` signal, send it to the main process group only.
try {
process.kill(-cp.pid, 'SIGINT');
process.kill(cp.pid, 'SIGKILL');
} catch (e) {
// the process might have already stopped
}
Expand Down

0 comments on commit 4921f8d

Please sign in to comment.