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

fix(hooks): remove procInterrupt listener on SIGINT in procError #36

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(hooks): remove procInterrupt listener on SIGINT in procError
  • Loading branch information
Matthew Shin committed May 7, 2019
commit 6ff87cb78cc33ce60174d54bb1b33ff19e8387b0
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