From f7f37cc09239d01e39fc4b76c6b2e0aac5c3829c Mon Sep 17 00:00:00 2001 From: Vijay Pai Date: Mon, 28 Sep 2020 11:38:01 -0700 Subject: [PATCH] Revert "Convert ExecCtx::Run to Closure::Run for subchannel call stack destruction" --- src/core/ext/filters/client_channel/client_channel.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/ext/filters/client_channel/client_channel.cc b/src/core/ext/filters/client_channel/client_channel.cc index 26357d9b22f..c36766a6dc3 100644 --- a/src/core/ext/filters/client_channel/client_channel.cc +++ b/src/core/ext/filters/client_channel/client_channel.cc @@ -2211,7 +2211,8 @@ void CallData::Destroy(grpc_call_element* elem, if (GPR_LIKELY(subchannel_call != nullptr)) { subchannel_call->SetAfterCallStackDestroy(then_schedule_closure); } else { - Closure::Run(DEBUG_LOCATION, then_schedule_closure, GRPC_ERROR_NONE); + // TODO(yashkt) : This can potentially be a Closure::Run + ExecCtx::Run(DEBUG_LOCATION, then_schedule_closure, GRPC_ERROR_NONE); } }