ruby-changes:34858
From: nobu <ko1@a...>
Date: Fri, 25 Jul 2014 15:53:40 +0900 (JST)
Subject: [ruby-changes:34858] nobu:r46941 (trunk): leakchecker.rb: temporary measure againt WEBrick
nobu 2014-07-25 15:53:27 +0900 (Fri, 25 Jul 2014) New Revision: 46941 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46941 Log: leakchecker.rb: temporary measure againt WEBrick * test/lib/leakchecker.rb (LeakChecker#find_threads): temporary measure for unrestartable WEBrick::Utils::TimeoutHandler::Thread. Modified files: trunk/test/lib/leakchecker.rb Index: test/lib/leakchecker.rb =================================================================== --- test/lib/leakchecker.rb (revision 46940) +++ test/lib/leakchecker.rb (revision 46941) @@ -131,7 +131,7 @@ class LeakChecker https://github.com/ruby/ruby/blob/trunk/test/lib/leakchecker.rb#L131 def find_threads Thread.list.find_all {|t| - t != Thread.current && t.alive? + t != Thread.current && /\AWEBrick::/ !~ t.class.name && t.alive? } end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/