diff options
author | seki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-12 14:40:15 +0000 |
---|---|---|
committer | seki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-12 14:40:15 +0000 |
commit | c6a506d04d41ae614678a023771884ed72c5c061 (patch) | |
tree | 934ae5b0558ba43393329d171deab091fe952f34 /lib/drb | |
parent | 1afbc783d4c1b4c21c6dca9e39978a1259f74500 (diff) |
lib/drb/drb.rb (kill_sub_thread): remove the method. [ruby-core:34185]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/drb')
-rw-r--r-- | lib/drb/drb.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/drb/drb.rb b/lib/drb/drb.rb index b4ccc11306..20f00e8ca9 100644 --- a/lib/drb/drb.rb +++ b/lib/drb/drb.rb @@ -1412,20 +1412,6 @@ module DRb end private - def kill_sub_thread - Thread.new do - grp = ThreadGroup.new - grp.add(Thread.current) - list = @grp.list - while list.size > 0 - list.each do |th| - th.kill if th.alive? - end - list = @grp.list - end - end - end - def run Thread.start do begin @@ -1434,7 +1420,6 @@ module DRb end ensure @protocol.close if @protocol - kill_sub_thread end end end |