diff options
author | David Garcia Quintas <dgq@google.com> | 2015-05-28 16:27:39 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2015-05-31 12:48:44 -0700 |
commit | 284488b4347685a83f97b6123a8d7115bb8ee032 (patch) | |
tree | ab5c9a96ed3e0c38966f9db8fbb56673db20a76b /src/core/surface/call.c | |
parent | 2738ae8c44786b8798d4b111e289b4baf1a134c6 (diff) |
removed managed closures from server.c
Diffstat (limited to 'src/core/surface/call.c')
-rw-r--r-- | src/core/surface/call.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c index 3a739315a2..948d0cdc36 100644 --- a/src/core/surface/call.c +++ b/src/core/surface/call.c @@ -226,7 +226,7 @@ struct grpc_call { gpr_slice_buffer incoming_message; gpr_uint32 incoming_message_length; - grpc_iomgr_closure destroy_iocb; + grpc_iomgr_closure destroy_closure; }; #define CALL_STACK_FROM_CALL(call) ((grpc_call_stack *)((call) + 1)) @@ -368,9 +368,9 @@ void grpc_call_internal_unref(grpc_call *c, int allow_immediate_deletion) { if (allow_immediate_deletion) { destroy_call(c, 1); } else { - c->destroy_iocb.cb = destroy_call; - c->destroy_iocb.cb_arg = c; - grpc_iomgr_add_callback(&c->destroy_iocb); + c->destroy_closure.cb = destroy_call; + c->destroy_closure.cb_arg = c; + grpc_iomgr_add_callback(&c->destroy_closure); } } } |