diff options
author | Craig Tiller <ctiller@google.com> | 2016-04-23 22:54:21 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-04-23 22:54:21 -0700 |
commit | 52cf871cabb5715b1b461c16200f7c6ef22ff3c8 (patch) | |
tree | 4478c4047a2777bbac2486b8451b7fea756582d1 /src/core/lib | |
parent | 62759c42bcca8df9083dffa7c087e000508f2035 (diff) |
Bug fixes
Diffstat (limited to 'src/core/lib')
-rw-r--r-- | src/core/lib/surface/call.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/surface/call.c b/src/core/lib/surface/call.c index 00b2b86f5c..fa12b6ea61 100644 --- a/src/core/lib/surface/call.c +++ b/src/core/lib/surface/call.c @@ -1063,7 +1063,8 @@ static void receiving_stream_ready(grpc_exec_ctx *exec_ctx, void *bctlp, grpc_call *call = bctl->call; gpr_mu_lock(&bctl->call->mu); - if (bctl->call->has_initial_md_been_received || !success) { + if (bctl->call->has_initial_md_been_received || !success || + call->receiving_stream == NULL) { gpr_mu_unlock(&bctl->call->mu); process_data_after_md(exec_ctx, bctlp, success); } else { |