* test/lib/minitest/unit.rb: Use Thread.list instead of
ObjectSpace.each_object(Thread). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f414bfc681
commit
70c15b19fa
@ -1,3 +1,8 @@
|
|||||||
|
Sun May 25 16:54:06 2014 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* test/lib/minitest/unit.rb: Use Thread.list instead of
|
||||||
|
ObjectSpace.each_object(Thread).
|
||||||
|
|
||||||
Sun May 25 15:53:54 2014 Tanaka Akira <akr@fsij.org>
|
Sun May 25 15:53:54 2014 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* lib/rinda/ring.rb (Rinda::RingServer#shutdown): Join the killed
|
* lib/rinda/ring.rb (Rinda::RingServer#shutdown): Join the killed
|
||||||
|
@ -947,7 +947,7 @@ module MiniTest
|
|||||||
end
|
end
|
||||||
|
|
||||||
def live_thread_and_tempfile
|
def live_thread_and_tempfile
|
||||||
live_threads = ObjectSpace.each_object(Thread).find_all {|t|
|
live_threads = Thread.list.find_all {|t|
|
||||||
t != Thread.current && t.alive?
|
t != Thread.current && t.alive?
|
||||||
}
|
}
|
||||||
if defined? Tempfile
|
if defined? Tempfile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user