summaryrefslogtreecommitdiff
path: root/sample/drb/dchats.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/drb/dchats.rb')
-rw-r--r--sample/drb/dchats.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/sample/drb/dchats.rb b/sample/drb/dchats.rb
index b3133d1163..012dfeeebe 100644
--- a/sample/drb/dchats.rb
+++ b/sample/drb/dchats.rb
@@ -66,6 +66,5 @@ if __FILE__ == $0
here = ARGV.shift
DRb.start_service(here, ChatServer.new)
puts DRb.uri
- puts '[return] to exit.'
- gets
+ DRb.thread.join
end