Updates the example servers to use #run_till_terminated

pull/1302/head
Tim Emiola 10 years ago
parent 9558460b77
commit 321871ee6e
  1. 2
      src/ruby/bin/interop/interop_server.rb
  2. 2
      src/ruby/bin/math_server.rb
  3. 2
      src/ruby/bin/noproto_server.rb

@ -185,7 +185,7 @@ def main
logger.info("... running insecurely on #{host}")
end
s.handle(TestTarget)
s.run
s.run_till_terminated
end
main

@ -183,7 +183,7 @@ def main
end
s.handle(Calculator)
s.run
s.run_till_terminated
end
main

@ -105,7 +105,7 @@ def main
end
s.handle(NoProto)
s.run
s.run_till_terminated
end
main

Loading…
Cancel
Save