From 321871ee6e09373723b400b28e6d08bd18fac629 Mon Sep 17 00:00:00 2001 From: Tim Emiola Date: Thu, 16 Apr 2015 12:56:11 -0700 Subject: [PATCH] Updates the example servers to use #run_till_terminated --- src/ruby/bin/interop/interop_server.rb | 2 +- src/ruby/bin/math_server.rb | 2 +- src/ruby/bin/noproto_server.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ruby/bin/interop/interop_server.rb b/src/ruby/bin/interop/interop_server.rb index 0819ba9bbcc..72570d92f3c 100755 --- a/src/ruby/bin/interop/interop_server.rb +++ b/src/ruby/bin/interop/interop_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 diff --git a/src/ruby/bin/math_server.rb b/src/ruby/bin/math_server.rb index 5cc76134893..1bfe253b855 100755 --- a/src/ruby/bin/math_server.rb +++ b/src/ruby/bin/math_server.rb @@ -183,7 +183,7 @@ def main end s.handle(Calculator) - s.run + s.run_till_terminated end main diff --git a/src/ruby/bin/noproto_server.rb b/src/ruby/bin/noproto_server.rb index 9979cb7ebbd..f71daeadb37 100755 --- a/src/ruby/bin/noproto_server.rb +++ b/src/ruby/bin/noproto_server.rb @@ -105,7 +105,7 @@ def main end s.handle(NoProto) - s.run + s.run_till_terminated end main