Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
fix: remove procInterrupt listener on SIGINT in procError
Browse files Browse the repository at this point in the history
PR-URL: #36
Close: #36
Reviewed-by: @isaacs
Credit: @mattshin
Fix: #11
Fix: #18
  • Loading branch information
Matthew Shin authored and isaacs committed Jul 17, 2019
1 parent ab15975 commit ea18ed2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ function runCmd_ (cmd, pkg, env, wd, opts, stage, unsafe, uid, gid, cb_) {
process.removeListener('SIGTERM', procKill)
process.removeListener('SIGTERM', procInterupt)
process.removeListener('SIGINT', procKill)
process.removeListener('SIGINT', procInterupt)
return cb(er)
}
function procKill () {
Expand Down

0 comments on commit ea18ed2

Please sign in to comment.