aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/lib
diff options
context:
space:
mode:
authorGravatar Michael Lumish <mlumish@google.com>2015-03-18 11:18:36 -0700
committerGravatar Michael Lumish <mlumish@google.com>2015-03-18 11:18:36 -0700
commit0e93c92d0624ae1ea7d610aabde53ef18170d42a (patch)
treee3905e36f2d733f957718c298c60624d2c64d458 /src/ruby/lib
parent6c398b318d582231d23b15f6f0b8a9f4a21d7dd4 (diff)
parente52995ef2b5547230904d2f123cacaa5440a572c (diff)
Merge pull request #1080 from tbetbetbe/grpc_ruby_add_back_server_finish_calls
Adds back calls to #finish at the end of server calls
Diffstat (limited to 'src/ruby/lib')
-rw-r--r--src/ruby/lib/grpc/generic/rpc_desc.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ruby/lib/grpc/generic/rpc_desc.rb b/src/ruby/lib/grpc/generic/rpc_desc.rb
index 5e3d3c9f9c..2cb3d2eebf 100644
--- a/src/ruby/lib/grpc/generic/rpc_desc.rb
+++ b/src/ruby/lib/grpc/generic/rpc_desc.rb
@@ -81,6 +81,7 @@ module GRPC
active_call.run_server_bidi(mth)
end
send_status(active_call, OK, 'OK')
+ active_call.finished
rescue BadStatus => e
# this is raised by handlers that want GRPC to send an application
# error code and detail message.