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

Commit

Permalink
fix(shutdown): make sure workers close
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Oct 7, 2017
1 parent 76abc10 commit 7ab57d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ class Installer {
extract.stopWorkers()
this.runTime = Date.now() - this.startTime
return this
}, e => {
extract.stopWorkers()
throw e
})
}

Expand Down

0 comments on commit 7ab57d0

Please sign in to comment.