From 57cdb166590920c72604fe3597d8393d8cc26bb6 Mon Sep 17 00:00:00 2001 From: "Mark D. Roth" Date: Mon, 23 Oct 2017 12:37:07 -0700 Subject: [PATCH] Initialize subchannel_list->pending_connectivity_state_unsafe. --- src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc b/src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc index 1d2eb395f02..af7a6acdff4 100644 --- a/src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc +++ b/src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc @@ -178,6 +178,7 @@ grpc_lb_subchannel_list *grpc_lb_subchannel_list_create( // grpc_connectivity_state to signal an undefined previous state. sd->prev_connectivity_state = GRPC_CHANNEL_INIT; sd->curr_connectivity_state = subchannel_connectivity_state; + sd->pending_connectivity_state_unsafe = subchannel_connectivity_state; sd->user_data_vtable = addresses->user_data_vtable; if (sd->user_data_vtable != NULL) { sd->user_data =