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

* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#initialize):

Arrays could not be modified in its each block. [ruby-dev:30063]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
gotoyuzo 2007-01-04 08:32:37 +00:00
parent a7028afec0
commit 7cb6d7a2fe
2 changed files with 6 additions and 1 deletions

View file

@ -124,7 +124,7 @@ module WEBrick
while true
now = Time.now
@timeout_info.each{|thread, ary|
ary.each{|info|
ary.dup.each{|info|
time, exception = *info
interrupt(thread, info.object_id, exception) if time < now
}