Skip to content
Snippets Groups Projects
Commit 03fc1987 authored by Alexander Polcyn's avatar Alexander Polcyn
Browse files

wait for write loop to finish at end of ruby read loop, on client side calls

parent 8a4ac886
No related branches found
No related tags found
No related merge requests found
......@@ -208,6 +208,10 @@ module GRPC
GRPC.logger.debug('bidi-read-loop: finished')
@reads_complete = true
finished
# Make sure that the write loop is done done before finishing the call.
# Note that blocking is ok at this point because we've already received
# a status
@enq_th.join if is_client
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment