mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
matz - disappointing fixes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5039daaf2e
commit
fc57cd59ff
5 changed files with 46 additions and 11 deletions
|
@ -223,7 +223,7 @@ class SizedQueue<Queue
|
|||
|
||||
def max=(max)
|
||||
Thread.critical = true
|
||||
if @max >= max
|
||||
if max >= @max
|
||||
@max = max
|
||||
Thread.critical = false
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue