diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-03-01 22:14:00 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-03-01 22:14:00 +0000 |
commit | a434cec2e64a4ace61990efac36222000044bcee (patch) | |
tree | 7743777b1856a7dc264a397a0c1680c84c917414 | |
parent | d28c0f740577cdbcbd00e84c0c20aa4903875f37 (diff) | |
download | rails-a434cec2e64a4ace61990efac36222000044bcee.tar.gz rails-a434cec2e64a4ace61990efac36222000044bcee.tar.bz2 rails-a434cec2e64a4ace61990efac36222000044bcee.zip |
(duh :)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3732 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb b/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb index b3ba99a013..a65d6df6a1 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb @@ -98,7 +98,7 @@ module ActiveRecord stale = Set.new(cache.keys) Thread.list.each do |thread| - stale -= thread.object_id if t.alive? + stale.delete(thread.object_id) if thread.alive? end stale.each do |thread_id| |