Remove endpoint from connector's interested_parties after handshake is done

reviewable/pr12219/r2
Yuchen Zeng 7 years ago
parent ab74a8c86e
commit 59e16b1a7d
  1. 2
      src/core/ext/transport/chttp2/client/chttp2_connector.cc

@ -115,6 +115,8 @@ static void on_handshake_done(grpc_exec_ctx *exec_ctx, void *arg,
}
memset(c->result, 0, sizeof(*c->result));
} else {
grpc_endpoint_delete_from_pollset_set(exec_ctx, args->endpoint,
c->args.interested_parties);
c->result->transport =
grpc_create_chttp2_transport(exec_ctx, args->args, args->endpoint, 1);
GPR_ASSERT(c->result->transport);

Loading…
Cancel
Save