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:
parent
14cea0d712
commit
3b26b3898e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue