diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-02-05 09:22:05 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-02-05 09:22:05 +0000 |
commit | d8e3edadd128a2ee5712b87a6b660295de2df6be (patch) | |
tree | 1750d9dcdd93bfe5e9d2574ad66dbb1738317e2f | |
parent | fa7a282502c253ad3203f28bb10eede8b3a3cd3e (diff) | |
download | rainbows-d8e3edadd128a2ee5712b87a6b660295de2df6be.tar.gz |
Array#each will do..
-rw-r--r-- | lib/rainbows/writer_thread_pool.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/writer_thread_pool.rb b/lib/rainbows/writer_thread_pool.rb index 8bc523f..b5688e0 100644 --- a/lib/rainbows/writer_thread_pool.rb +++ b/lib/rainbows/writer_thread_pool.rb @@ -52,7 +52,7 @@ module Rainbows::WriterThreadPool @@q = qp.map { |q| q.queue } super(worker) # accept loop from Unicorn - qp.map { |q| q.quit! } + qp.each { |q| q.quit! } end # :startdoc: end |