aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/lib/surface/call.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/lib/surface/call.c b/src/core/lib/surface/call.c
index f5bac0779c..f53e940fde 100644
--- a/src/core/lib/surface/call.c
+++ b/src/core/lib/surface/call.c
@@ -991,6 +991,9 @@ static void post_batch_completion(grpc_exec_ctx *exec_ctx,
exec_ctx,
&call->metadata_batch[0 /* is_receiving */][0 /* is_trailing */]);
}
+ if (bctl->send_message) {
+ call->sending_message = false;
+ }
if (bctl->send_final_op) {
grpc_metadata_batch_destroy(
exec_ctx,