summaryrefslogtreecommitdiff
path: root/sample/drb/drbm.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/drb/drbm.rb')
-rw-r--r--sample/drb/drbm.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/sample/drb/drbm.rb b/sample/drb/drbm.rb
index 37a26cdfa5..74a15a4696 100644
--- a/sample/drb/drbm.rb
+++ b/sample/drb/drbm.rb
@@ -54,6 +54,7 @@ if __FILE__ == $0
puts "#{s1.uri} #{s2.uri}"
- gets
+ s1.thread.join
+ s2.thread.join
end