Skip to content

Commit 659b756

Browse files
committedMay 12, 2016
Merge pull request #156 from shirish87/fix_exit
Fix runner worker reuse issue
2 parents 51618fc + 75c896b commit 659b756

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎lib/server.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ exports.Server = function Server(bsClient, workers) {
183183
});
184184

185185
} else {
186-
bsClient.terminateWorker(worker.id, callback);
186+
bsClient.terminateWorker(worker.id, function () {
187+
callback(false);
188+
});
187189
}
188190
}
189191

0 commit comments

Comments
 (0)