Skip to content

Commit

Permalink
Merge pull request #156 from shirish87/fix_exit
Browse files Browse the repository at this point in the history
Fix runner worker reuse issue
  • Loading branch information
nakula committed May 12, 2016
2 parents 51618fc + 75c896b commit 659b756
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ exports.Server = function Server(bsClient, workers) {
});

} else {
bsClient.terminateWorker(worker.id, callback);
bsClient.terminateWorker(worker.id, function () {
callback(false);
});
}
}

Expand Down

0 comments on commit 659b756

Please sign in to comment.