Closed killmenot closed 7 years ago
@robtweed
Please take a look at https://github.com/robtweed/ewd-qoper8/blob/master/lib/master/proto/getWorker.js#L41-L42
What if no worker by pid here? Can we update
worker = this.worker.process[pid]; if (worker.isAvailable) {
to
worker = this.worker.process[pid]; if (worker && worker.isAvailable) {
?
Same for stopWorker method here https://github.com/robtweed/ewd-qoper8/blob/master/lib/master/proto/stopWorker.js#L33
stopWorker
Will be included in next build
@robtweed
Please take a look at https://github.com/robtweed/ewd-qoper8/blob/master/lib/master/proto/getWorker.js#L41-L42
What if no worker by pid here? Can we update
to
?