diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2015-12-10 16:09:41 -0800 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2015-12-10 16:09:41 -0800 |
commit | 303e3cb0ee52fafc827a78559e8ed1106fd8d03c (patch) | |
tree | 7f3b96bf0774dd99f79a1eeb3622820147a58941 /src/ruby | |
parent | 895e539f2de5dd8935e4dab31629d01d87197e64 (diff) | |
parent | f88008c00bf94e0337586357a25a91cf746ae9c3 (diff) |
Merge pull request #4396 from murgatroid99/ruby_server_fix_hang
Fixed a busy-wait in Ruby server run_till_terminated
Diffstat (limited to 'src/ruby')
-rw-r--r-- | src/ruby/lib/grpc/generic/rpc_server.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ruby/lib/grpc/generic/rpc_server.rb b/src/ruby/lib/grpc/generic/rpc_server.rb index 0e318bd53b..410156ff03 100644 --- a/src/ruby/lib/grpc/generic/rpc_server.rb +++ b/src/ruby/lib/grpc/generic/rpc_server.rb @@ -48,6 +48,8 @@ module GRPC return false when 'TERM' return false + when nil + return true end end true |