Fix mutex bug

pull/3422/head
Jorge Canizales 9 years ago
parent a85a0151cd
commit b873ac916e
  1. 1
      src/core/surface/secure_channel_create.c

@ -197,6 +197,7 @@ static grpc_subchannel *subchannel_factory_create_subchannel(
memset(c, 0, sizeof(*c));
c->base.vtable = &connector_vtable;
c->security_connector = f->security_connector;
gpr_mu_init(&c->mu);
gpr_ref_init(&c->refs, 1);
args->mdctx = f->mdctx;
args->args = final_args;

Loading…
Cancel
Save