diff options
author | Craig Tiller <ctiller@google.com> | 2015-05-05 09:35:15 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-05-05 09:35:15 -0700 |
commit | 9eb47ada08d3c5cb35b7fe05b2bf9cf18f61e928 (patch) | |
tree | 39389deff246ea263bf4f1e25611101c5c9e5e91 /src | |
parent | 667ca409eda4d2e331a12abdf5fda17e10d3b68e (diff) |
Further fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/core/surface/completion_queue.h | 11 | ||||
-rw-r--r-- | src/python/src/grpc/_adapter/_completion_queue.c | 1 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/core/surface/completion_queue.h b/src/core/surface/completion_queue.h index 239bfe4aea..7b6fad98fd 100644 --- a/src/core/surface/completion_queue.h +++ b/src/core/surface/completion_queue.h @@ -46,17 +46,6 @@ void grpc_cq_internal_unref(grpc_completion_queue *cc); shutdown until a corrensponding grpc_cq_end_* call is made */ void grpc_cq_begin_op(grpc_completion_queue *cc, grpc_call *call); -/* grpc_cq_end_* functions pair with a grpc_cq_begin_op - - grpc_cq_end_* common arguments: - cc - the completion channel to queue on - tag - the user supplied operation tag - on_finish - grpc_event_finish_func that is called during grpc_event_finish - can be NULL to not get a callback - user_data - user_data parameter to be passed to on_finish - - Other parameters match the data member of grpc_event */ - /* Queue a GRPC_OP_COMPLETED operation */ void grpc_cq_end_op(grpc_completion_queue *cc, void *tag, grpc_call *call, int success); diff --git a/src/python/src/grpc/_adapter/_completion_queue.c b/src/python/src/grpc/_adapter/_completion_queue.c index 23e5b475e1..97828e67ad 100644 --- a/src/python/src/grpc/_adapter/_completion_queue.c +++ b/src/python/src/grpc/_adapter/_completion_queue.c @@ -440,7 +440,6 @@ static PyObject *pygrpc_completion_queue_get(CompletionQueue *self, if (tag) { pygrpc_tag_destroy(tag); } - grpc_event_finish(c_event); return event; } |