diff options
Diffstat (limited to 'src/cpp/server')
-rw-r--r-- | src/cpp/server/server_cc.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpp/server/server_cc.cc b/src/cpp/server/server_cc.cc index 774c33b31a..94dcce9812 100644 --- a/src/cpp/server/server_cc.cc +++ b/src/cpp/server/server_cc.cc @@ -202,6 +202,7 @@ class Server::SyncRequest final : public internal::CompletionQueueTag { void PostShutdownCleanup() { if (call_) { grpc_call_unref(call_); + call_ = nullptr; } if (cq_) { grpc_completion_queue_destroy(cq_); |