diff options
author | Craig Tiller <ctiller@google.com> | 2015-03-02 11:37:40 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-03-02 11:37:40 -0800 |
commit | fa9b1a415e2daa79e5cf5050432521a4515a0938 (patch) | |
tree | d47d5f730129fc4bdb9f79781bc6cadba9812526 /src/core | |
parent | bb88a048cdc5f0f7157eab9fef5168f27ade624b (diff) |
Fix flake
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/transport/chttp2_transport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/transport/chttp2_transport.c b/src/core/transport/chttp2_transport.c index 8d4a978963..6b7273e3e4 100644 --- a/src/core/transport/chttp2_transport.c +++ b/src/core/transport/chttp2_transport.c @@ -1000,7 +1000,8 @@ static void send_batch(grpc_transport *gt, grpc_stream *gs, grpc_stream_op *ops, } else { grpc_sopb_append(&t->nuke_later_sopb, ops, ops_count); } - if (is_last && s->outgoing_sopb.nops == 0 && s->read_closed) { + if (is_last && s->outgoing_sopb.nops == 0 && s->read_closed && + !s->published_close) { stream_list_join(t, s, PENDING_CALLBACKS); } |