diff options
author | Craig Tiller <ctiller@google.com> | 2017-02-09 12:02:39 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-02-09 12:02:39 -0800 |
commit | d85477515230c5161659175cbc60b684109aedbf (patch) | |
tree | 45a5e0cfd06742a176a59eaacd8ec6adcfe689df /src/core | |
parent | 613dafa60ce3a22a5d7f1351b8054a3090b9deb1 (diff) |
Init mutex
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/ext/client_channel/client_channel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ext/client_channel/client_channel.c b/src/core/ext/client_channel/client_channel.c index 58504de87d..a7dd967a51 100644 --- a/src/core/ext/client_channel/client_channel.c +++ b/src/core/ext/client_channel/client_channel.c @@ -522,6 +522,7 @@ static grpc_error *cc_init_channel_elem(grpc_exec_ctx *exec_ctx, GPR_ASSERT(elem->filter == &grpc_client_channel_filter); // Initialize data members. chand->combiner = grpc_combiner_create(NULL); + gpr_mu_init(&chand->info_mu); chand->owning_stack = args->channel_stack; grpc_closure_init(&chand->on_resolver_result_changed, on_resolver_result_changed_locked, chand, @@ -582,6 +583,7 @@ static void cc_destroy_channel_elem(grpc_exec_ctx *exec_ctx, grpc_connectivity_state_destroy(exec_ctx, &chand->state_tracker); grpc_pollset_set_destroy(chand->interested_parties); grpc_combiner_destroy(exec_ctx, chand->combiner); + gpr_mu_destroy(&chand->info_mu); } /************************************************************************* |