leakchecker.rb: temporary measure againt WEBrick
* test/lib/leakchecker.rb (LeakChecker#find_threads): temporary measure for unrestartable WEBrick::Utils::TimeoutHandler::Thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
14cea0d712
commit
3b26b3898e
@ -131,7 +131,7 @@ class LeakChecker
|
|||||||
|
|
||||||
def find_threads
|
def find_threads
|
||||||
Thread.list.find_all {|t|
|
Thread.list.find_all {|t|
|
||||||
t != Thread.current && t.alive?
|
t != Thread.current && /\AWEBrick::/ !~ t.class.name && t.alive?
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user