summaryrefslogtreecommitdiff
path: root/sample/drb/drbssl_s.rb
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-27 15:36:32 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-27 15:36:32 +0000
commita1162d2bf8fda567f67006ea063c033daca0860a (patch)
tree87ae99fdd7a106a913536aac8d579c6495048c0e /sample/drb/drbssl_s.rb
parent0131ff249ae19e1decc7817a53ca7c523293e72a (diff)
using "DRb.thread.join" instead of "gets"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/drb/drbssl_s.rb')
-rw-r--r--sample/drb/drbssl_s.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/sample/drb/drbssl_s.rb b/sample/drb/drbssl_s.rb
index 94d02f6..4d96f59 100644
--- a/sample/drb/drbssl_s.rb
+++ b/sample/drb/drbssl_s.rb
@@ -28,5 +28,4 @@ end
DRb.start_service(here, HelloWorld.new, config)
puts DRb.uri
-$stdin.gets
-DRb.stop_service
+DRb.thread.join