summaryrefslogtreecommitdiff
path: root/sample/drb/gw_s.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/drb/gw_s.rb')
-rw-r--r--sample/drb/gw_s.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/sample/drb/gw_s.rb b/sample/drb/gw_s.rb
index f91249b3e0..c2bea0baad 100644
--- a/sample/drb/gw_s.rb
+++ b/sample/drb/gw_s.rb
@@ -6,4 +6,5 @@ DRb.install_id_conv(DRb::GWIdConv.new)
gw = DRb::GW.new
s1 = DRb::DRbServer.new(ARGV.shift, gw)
s2 = DRb::DRbServer.new(ARGV.shift, gw)
-gets
+s1.thread.join
+s2.thread.join