diff options
author | 2016-01-15 21:13:25 -0800 | |
---|---|---|
committer | 2016-01-15 21:13:25 -0800 | |
commit | 694cf8b0d266f4fadcc5b52f1bfc6f2c0dd1ccb5 (patch) | |
tree | 73c2517e682041f1f5587d4a99befb7c62b10cc6 /src/core/surface | |
parent | edc2fffb34cdaaa5274432a197205fc8d3c206be (diff) |
Shared subchannel sketch
Diffstat (limited to 'src/core/surface')
-rw-r--r-- | src/core/surface/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/surface/init.c b/src/core/surface/init.c index 19cea4c4f6..8f1936227e 100644 --- a/src/core/surface/init.c +++ b/src/core/surface/init.c @@ -46,6 +46,7 @@ #include "src/core/client_config/resolver_registry.h" #include "src/core/client_config/resolvers/dns_resolver.h" #include "src/core/client_config/resolvers/sockaddr_resolver.h" +#include "src/core/client_config/subchannel.h" #include "src/core/debug/trace.h" #include "src/core/iomgr/executor.h" #include "src/core/iomgr/iomgr.h" @@ -125,6 +126,7 @@ void grpc_init(void) { } gpr_timers_global_init(); grpc_cq_global_init(); + grpc_subchannel_global_init(); for (i = 0; i < g_number_of_plugins; i++) { if (g_all_of_the_plugins[i].init != NULL) { g_all_of_the_plugins[i].init(); @@ -143,6 +145,7 @@ void grpc_shutdown(void) { grpc_executor_shutdown(); grpc_cq_global_shutdown(); grpc_iomgr_shutdown(); + grpc_subchannel_global_shutdown(); census_shutdown(); gpr_timers_global_destroy(); grpc_tracer_shutdown(); |