[chttp2] Use Closure::Run to invoke callbacks (#29844)

pull/29860/head
Craig Tiller 3 years ago committed by GitHub
parent 14dcb40304
commit e7b1ad09af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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,

Loading…
Cancel
Save