aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/performance/worker_service_impl.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/performance/worker_service_impl.js')
-rw-r--r--src/node/performance/worker_service_impl.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/node/performance/worker_service_impl.js b/src/node/performance/worker_service_impl.js
index 3f317f6429..38888a7219 100644
--- a/src/node/performance/worker_service_impl.js
+++ b/src/node/performance/worker_service_impl.js
@@ -55,9 +55,8 @@ module.exports = function WorkerServiceImpl(benchmark_impl, server) {
}
this.quitWorker = function quitWorker(call, callback) {
- server.tryShutdown(function() {
- callback(null, {});
- });
+ callback(null, {});
+ server.tryShutdown(function() {});
};
this.runClient = function runClient(call) {