aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/client_config/subchannel.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-09-16 10:04:36 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-09-16 10:04:36 -0700
commit36c86e2a8348a69dcddff4ce8dbfbaf155423234 (patch)
tree51cdaefd8d88efd598bf1382b40cf6c54b0b20a7 /src/core/client_config/subchannel.c
parent7d57ba138fc4dbde885c5a59231ae6de6968e557 (diff)
parent9ed4be48955e3b65b0540f70060b7191d8c1eef1 (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.c4
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) {