diff options
author | 2015-08-10 15:07:43 -0700 | |
---|---|---|
committer | 2015-08-10 15:07:43 -0700 | |
commit | e14020365c816ec54ebe59d1bf0cc399aef9644e (patch) | |
tree | b08511799b9b2c096476004ad730fb50f3bc2e3e /src | |
parent | c47056c0f6c2e6b9eae8299eac16b00349864ca3 (diff) | |
parent | de02ae611f3a8fd43e34b8c972b5aace0df5219c (diff) |
Merge pull request #2846 from ctiller/alphasprout
Shutdown lb_policy when changing it
Diffstat (limited to 'src')
-rw-r--r-- | src/core/channel/client_channel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/channel/client_channel.c b/src/core/channel/client_channel.c index a293c93ec6..6c2e6b38a8 100644 --- a/src/core/channel/client_channel.c +++ b/src/core/channel/client_channel.c @@ -527,6 +527,7 @@ static void cc_on_config_changed(void *arg, int iomgr_success) { } if (old_lb_policy != NULL) { + grpc_lb_policy_shutdown(old_lb_policy); GRPC_LB_POLICY_UNREF(old_lb_policy, "channel"); } |