diff options
author | Craig Tiller <ctiller@google.com> | 2015-09-16 10:04:36 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-09-16 10:04:36 -0700 |
commit | 36c86e2a8348a69dcddff4ce8dbfbaf155423234 (patch) | |
tree | 51cdaefd8d88efd598bf1382b40cf6c54b0b20a7 /src/core/client_config/subchannel.c | |
parent | 7d57ba138fc4dbde885c5a59231ae6de6968e557 (diff) | |
parent | 9ed4be48955e3b65b0540f70060b7191d8c1eef1 (diff) |
Merge github.com:grpc/grpc into shindig
Diffstat (limited to 'src/core/client_config/subchannel.c')
-rw-r--r-- | src/core/client_config/subchannel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/client_config/subchannel.c b/src/core/client_config/subchannel.c index 82212d2c6b..99479b79c5 100644 --- a/src/core/client_config/subchannel.c +++ b/src/core/client_config/subchannel.c @@ -443,6 +443,10 @@ void grpc_subchannel_process_transport_op(grpc_subchannel *c, if (cancel_alarm) { grpc_alarm_cancel(&c->alarm); } + + if (op->disconnect) { + grpc_connector_shutdown(c->connector); + } } static void on_state_changed(void *p, int iomgr_success) { |