aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests/CoreCronetEnd2EndTests/CoreCronetEnd2EndTests.mm
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-11-27 13:46:18 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2017-11-27 13:46:18 -0800
commit6fbe010851bd2041e98468f5befef5d6e3d598b0 (patch)
treef42a8f68fe4592fb73ad0cbc28cddb210c0b18d9 /src/objective-c/tests/CoreCronetEnd2EndTests/CoreCronetEnd2EndTests.mm
parent9da7ac217ae38113dcc85ac8442fa394d924ace3 (diff)
minor objc test change
Diffstat (limited to 'src/objective-c/tests/CoreCronetEnd2EndTests/CoreCronetEnd2EndTests.mm')
-rw-r--r--src/objective-c/tests/CoreCronetEnd2EndTests/CoreCronetEnd2EndTests.mm5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/objective-c/tests/CoreCronetEnd2EndTests/CoreCronetEnd2EndTests.mm b/src/objective-c/tests/CoreCronetEnd2EndTests/CoreCronetEnd2EndTests.mm
index d5e668a858..55c5105de4 100644
--- a/src/objective-c/tests/CoreCronetEnd2EndTests/CoreCronetEnd2EndTests.mm
+++ b/src/objective-c/tests/CoreCronetEnd2EndTests/CoreCronetEnd2EndTests.mm
@@ -110,13 +110,12 @@ static void chttp2_tear_down_secure_fullstack(grpc_end2end_test_fixture *f) {
static void cronet_init_client_simple_ssl_secure_fullstack(
grpc_end2end_test_fixture *f, grpc_channel_args *client_args) {
- grpc_exec_ctx ctx = GRPC_EXEC_CTX_INIT;
+ grpc_exec_ctx _local_exec_ctx;
stream_engine *cronetEngine = [Cronet getGlobalEngine];
grpc_channel_args *new_client_args = grpc_channel_args_copy(client_args);
cronet_init_client_secure_fullstack(f, new_client_args, cronetEngine);
- grpc_channel_args_destroy(&ctx, new_client_args);
- grpc_exec_ctx_finish(&ctx);
+ grpc_channel_args_destroy(new_client_args);
}
static int fail_server_auth_check(grpc_channel_args *server_args) {