diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-11-19 07:48:53 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-11-19 07:48:53 -0800 |
commit | 0e72ede40582c43c404e3b211464cca3bc5b6bc6 (patch) | |
tree | 43ea561bd8555f154b69003e16ce1db3d7cfba53 /src/core/surface | |
parent | 328d4b18a52b7f4a59e05d89590b2bed77b61aef (diff) |
Use static metadata table in metadata.c
Diffstat (limited to 'src/core/surface')
-rw-r--r-- | src/core/surface/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/surface/init.c b/src/core/surface/init.c index f8cba01cad..04d68620f1 100644 --- a/src/core/surface/init.c +++ b/src/core/surface/init.c @@ -93,6 +93,7 @@ void grpc_init(void) { gpr_mu_lock(&g_init_mu); if (++g_initializations == 1) { gpr_time_init(); + grpc_mdctx_global_init(); grpc_lb_policy_registry_init(grpc_pick_first_lb_factory_create()); grpc_register_lb_policy(grpc_pick_first_lb_factory_create()); grpc_register_lb_policy(grpc_round_robin_lb_factory_create()); @@ -147,6 +148,7 @@ void grpc_shutdown(void) { g_all_of_the_plugins[i].destroy(); } } + grpc_mdctx_global_shutdown(); } gpr_mu_unlock(&g_init_mu); } |