diff options
author | Craig Tiller <ctiller@google.com> | 2017-02-14 22:25:50 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-02-14 22:25:50 -0800 |
commit | 9e5ac1bf115a182c0418f21d60d15245af6307bf (patch) | |
tree | 70bd502a4a8f297accb11550a9463233b1805eaf /test/core/http | |
parent | 225435972c10da4dfb561ed7b11743022187708a (diff) |
Fix broken shutdown, and cascading exec_ctx usage bugs
Diffstat (limited to 'test/core/http')
-rw-r--r-- | test/core/http/httpcli_test.c | 2 | ||||
-rw-r--r-- | test/core/http/httpscli_test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/core/http/httpcli_test.c b/test/core/http/httpcli_test.c index 6cc00f871d..be8301c5e3 100644 --- a/test/core/http/httpcli_test.c +++ b/test/core/http/httpcli_test.c @@ -209,7 +209,7 @@ int main(int argc, char **argv) { test_get(port); test_post(port); - grpc_httpcli_context_destroy(&g_context); + grpc_httpcli_context_destroy(&exec_ctx, &g_context); grpc_closure_init(&destroyed, destroy_pops, &g_pops, grpc_schedule_on_exec_ctx); grpc_pollset_shutdown(&exec_ctx, grpc_polling_entity_pollset(&g_pops), diff --git a/test/core/http/httpscli_test.c b/test/core/http/httpscli_test.c index e1a26d91e9..5a6f07bec2 100644 --- a/test/core/http/httpscli_test.c +++ b/test/core/http/httpscli_test.c @@ -212,7 +212,7 @@ int main(int argc, char **argv) { test_get(port); test_post(port); - grpc_httpcli_context_destroy(&g_context); + grpc_httpcli_context_destroy(&exec_ctx, &g_context); grpc_closure_init(&destroyed, destroy_pops, &g_pops, grpc_schedule_on_exec_ctx); grpc_pollset_shutdown(&exec_ctx, grpc_polling_entity_pollset(&g_pops), |