aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/lib
diff options
context:
space:
mode:
authorGravatar Tim Emiola <temiola@google.com>2015-03-17 21:41:57 -0700
committerGravatar Tim Emiola <temiola@google.com>2015-03-17 21:41:57 -0700
commite52995ef2b5547230904d2f123cacaa5440a572c (patch)
treec9a736110864685ca974487fd5acdf1163050169 /src/ruby/lib
parent09eaec027ab4b3d97cb239820af98fe0c460f287 (diff)
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.