diff options
Diffstat (limited to 'grpc/spm-cpp-include/grpcpp/channel.h')
-rw-r--r-- | grpc/spm-cpp-include/grpcpp/channel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grpc/spm-cpp-include/grpcpp/channel.h b/grpc/spm-cpp-include/grpcpp/channel.h index 5e67c642..65cc46d1 100644 --- a/grpc/spm-cpp-include/grpcpp/channel.h +++ b/grpc/spm-cpp-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>> |