Merge pull request #1690 from ctiller/gem-shard

Fix segfault exposed by Ruby
pull/1699/head
Yang Gao 10 years ago
commit bbc8a40b22
  1. 1
      src/core/surface/call.c
  2. BIN
      src/ruby/core

@ -597,6 +597,7 @@ static void call_on_done_send(void *pc, int success) {
finish_ioreq_op(call, GRPC_IOREQ_SEND_STATUS, success);
finish_ioreq_op(call, GRPC_IOREQ_SEND_CLOSE, 1);
}
call->send_ops.nops = 0;
call->last_send_contains = 0;
call->sending = 0;
unlock(call);

Binary file not shown.
Loading…
Cancel
Save