summaryrefslogtreecommitdiff
path: root/grpc/include/grpcpp/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'grpc/include/grpcpp/channel.h')
-rw-r--r--grpc/include/grpcpp/channel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/grpc/include/grpcpp/channel.h b/grpc/include/grpcpp/channel.h
index 5e67c642..65cc46d1 100644
--- a/grpc/include/grpcpp/channel.h
+++ b/grpc/include/grpcpp/channel.h
@@ -114,7 +114,7 @@ class Channel final : public ::grpc::ChannelInterface,
// with this channel (if any). It is set on the first call to CallbackCQ().
// It is _not owned_ by the channel; ownership belongs with its internal
// shutdown callback tag (invoked when the CQ is fully shutdown).
- ::grpc::CompletionQueue* callback_cq_ = nullptr;
+ std::atomic<CompletionQueue*> callback_cq_{nullptr};
std::vector<
std::unique_ptr<::grpc::experimental::ClientInterceptorFactoryInterface>>