summaryrefslogtreecommitdiff
path: root/lib/rinda
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-25 07:32:26 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-25 07:32:26 +0000
commitf414bfc6816b4af0056c3bbd716afea3d8a8eb9f (patch)
treec2b132b68588596c90ae5cf13e8204495e626c25 /lib/rinda
parent9e0b0731edc6482f91db32748f0674a6ccd2378f (diff)
* lib/rinda/ring.rb (Rinda::RingServer#shutdown): Join the killed
threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rinda')
-rw-r--r--lib/rinda/ring.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rinda/ring.rb b/lib/rinda/ring.rb
index 2c29977..deef114 100644
--- a/lib/rinda/ring.rb
+++ b/lib/rinda/ring.rb
@@ -225,6 +225,7 @@ module Rinda
@w_services.each do |thread|
thread.kill
+ thread.join
end
@sockets.each do |socket|
@@ -232,6 +233,7 @@ module Rinda
end
@r_service.kill
+ @r_service.join
end
end