Fix pairing of GRPC_TIMER_BEGIN/END in grpc_byte_stream_next

pull/10739/head
Muxi Yan 8 years ago
parent c63a119fd4
commit 93b1120216
  1. 1
      src/core/ext/transport/chttp2/transport/chttp2_transport.c

@ -2602,6 +2602,7 @@ static bool incoming_byte_stream_next(grpc_exec_ctx *exec_ctx,
(grpc_chttp2_incoming_byte_stream *)byte_stream;
grpc_chttp2_stream *s = bs->stream;
if (s->unprocessed_incoming_frames_buffer.length > 0) {
GPR_TIMER_END("incoming_byte_stream_next", 0);
return true;
} else {
gpr_ref(&bs->refs);

Loading…
Cancel
Save