aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/performance/worker_service_impl.js
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-12-09 08:37:48 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-12-09 08:37:48 -0800
commit7ae081b9f02667a22797d313c56b1f592a568dd0 (patch)
tree8e1d1329587a1d83fe3598f95147b90f3f3e8413 /src/node/performance/worker_service_impl.js
parentab7b2d82e989840f299c136f7062d8c6548ec5e1 (diff)
parentc204647295437b01337ad8e6c17c4296609c7a13 (diff)
Merge github.com:grpc/grpc into slice_with_exec_ctx
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) {