|
|
@ -162,9 +162,9 @@ void grpc_shutdown(void) { |
|
|
|
{ |
|
|
|
{ |
|
|
|
grpc_core::ExecCtx exec_ctx(0); |
|
|
|
grpc_core::ExecCtx exec_ctx(0); |
|
|
|
{ |
|
|
|
{ |
|
|
|
grpc_executor_shutdown(); |
|
|
|
|
|
|
|
grpc_timer_manager_set_threading( |
|
|
|
grpc_timer_manager_set_threading( |
|
|
|
false); // shutdown timer_manager thread
|
|
|
|
false); // shutdown timer_manager thread
|
|
|
|
|
|
|
|
grpc_executor_shutdown(); |
|
|
|
for (i = g_number_of_plugins; i >= 0; i--) { |
|
|
|
for (i = g_number_of_plugins; i >= 0; i--) { |
|
|
|
if (g_all_of_the_plugins[i].destroy != nullptr) { |
|
|
|
if (g_all_of_the_plugins[i].destroy != nullptr) { |
|
|
|
g_all_of_the_plugins[i].destroy(); |
|
|
|
g_all_of_the_plugins[i].destroy(); |
|
|
|