diff options
author | Tim Emiola <temiola@google.com> | 2015-03-17 21:41:57 -0700 |
---|---|---|
committer | Tim Emiola <temiola@google.com> | 2015-03-17 21:41:57 -0700 |
commit | e52995ef2b5547230904d2f123cacaa5440a572c (patch) | |
tree | c9a736110864685ca974487fd5acdf1163050169 /src/ruby/lib | |
parent | 09eaec027ab4b3d97cb239820af98fe0c460f287 (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.rb | 1 |
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. |