aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-08-19 10:34:59 -0700
committerGravatar murgatroid99 <mlumish@google.com>2015-08-19 10:34:59 -0700
commit8a2ab3b249558f5bf4c6e4ef938c68b106750828 (patch)
tree84a21fcba959c40e4e91d1eca208ccb540701293 /src/node
parent2c3938eab0995ab1c11f5f72deb70e340cb77c9e (diff)
Removed errant NULL setting
Diffstat (limited to 'src/node')
-rw-r--r--src/node/ext/server.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/node/ext/server.cc b/src/node/ext/server.cc
index c32e3ae918..57c4310490 100644
--- a/src/node/ext/server.cc
+++ b/src/node/ext/server.cc
@@ -120,7 +120,7 @@ Server::Server(grpc_server *server) : wrapped_server(server) {
Server::~Server() {
this->ShutdownServer();
grpc_completion_queue_shutdown(this->shutdown_queue);
- grpc_server_destroy(wrapped_server);
+ grpc_server_destroy(this->wrapped_server);
grpc_completion_queue_destroy(this->shutdown_queue);
}
@@ -162,7 +162,6 @@ void Server::ShutdownServer() {
grpc_server_cancel_all_calls(this->wrapped_server);
grpc_completion_queue_pluck(this->shutdown_queue, NULL,
gpr_inf_future(GPR_CLOCK_REALTIME), NULL);
- this->wrapped_server = NULL;
}
NAN_METHOD(Server::New) {