From e7b1ad09af30187be469e38d376e8c0631895d10 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Wed, 1 Jun 2022 12:42:57 -0700 Subject: [PATCH] [chttp2] Use Closure::Run to invoke callbacks (#29844) --- src/core/ext/transport/chttp2/transport/chttp2_transport.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ext/transport/chttp2/transport/chttp2_transport.cc b/src/core/ext/transport/chttp2/transport/chttp2_transport.cc index 03117833352..deec773ed82 100644 --- a/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +++ b/src/core/ext/transport/chttp2/transport/chttp2_transport.cc @@ -1251,7 +1251,7 @@ static grpc_closure* add_closure_barrier(grpc_closure* closure) { static void null_then_sched_closure(grpc_closure** closure) { grpc_closure* c = *closure; *closure = nullptr; - grpc_core::ExecCtx::Run(DEBUG_LOCATION, c, GRPC_ERROR_NONE); + grpc_core::Closure::Run(DEBUG_LOCATION, c, GRPC_ERROR_NONE); } void grpc_chttp2_complete_closure_step(grpc_chttp2_transport* t,