Merge pull request #18898 from pfreixes/initialize_callbackctx_timer_custom

Create App context callback for timer custom
pull/19629/head
Lidi Zheng 6 years ago committed by GitHub
commit cabc1bd39b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/core/lib/iomgr/timer_custom.cc

@ -32,6 +32,7 @@ static grpc_custom_timer_vtable* custom_timer_impl;
void grpc_custom_timer_callback(grpc_custom_timer* t, grpc_error* error) {
GRPC_CUSTOM_IOMGR_ASSERT_SAME_THREAD();
grpc_core::ApplicationCallbackExecCtx callback_exec_ctx;
grpc_core::ExecCtx exec_ctx;
grpc_timer* timer = t->original;
GPR_ASSERT(timer->pending);

Loading…
Cancel
Save