Explorar o código

Fixed a busy-wait in Ruby server run_till_terminated

murgatroid99 %!s(int64=9) %!d(string=hai) anos
pai
achega
f88008c00b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/ruby/lib/grpc/generic/rpc_server.rb

+ 2 - 0
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