Fix worker restart when stopping

This commit is contained in:
Gleb Golovin
2016-09-26 11:50:04 +07:00
parent 20b1d708ae
commit 80ac27fbb4

View File

@@ -320,6 +320,7 @@ module.exports = function(options) {
}
}
else {
willStop = true
stop()
}
}