From 80ac27fbb45b92463bfb01f9f4df9c366dcad84c Mon Sep 17 00:00:00 2001 From: Gleb Golovin Date: Mon, 26 Sep 2016 11:50:04 +0700 Subject: [PATCH] Fix worker restart when stopping --- lib/units/provider/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/units/provider/index.js b/lib/units/provider/index.js index aba026c2..c31edfe0 100644 --- a/lib/units/provider/index.js +++ b/lib/units/provider/index.js @@ -320,6 +320,7 @@ module.exports = function(options) { } } else { + willStop = true stop() } }