Revert "Convert ExecCtx::Run to Closure::Run for subchannel call stack destruction"

pull/24254/head
Vijay Pai 4 years ago committed by GitHub
parent 0154250268
commit f7f37cc092
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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);
}
}

Loading…
Cancel
Save