1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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:
nobu 2014-07-25 06:53:27 +00:00
parent 14cea0d712
commit 3b26b3898e

View file

@ -131,7 +131,7 @@ class LeakChecker
def find_threads
Thread.list.find_all {|t|
t != Thread.current && t.alive?
t != Thread.current && /\AWEBrick::/ !~ t.class.name && t.alive?
}
end