about summary refs log tree commit homepage
path: root/lib/rainbows/writer_thread_pool.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-02-05 09:22:05 +0000
committerEric Wong <normalperson@yhbt.net>2011-02-05 09:22:05 +0000
commitd8e3edadd128a2ee5712b87a6b660295de2df6be (patch)
tree1750d9dcdd93bfe5e9d2574ad66dbb1738317e2f /lib/rainbows/writer_thread_pool.rb
parentfa7a282502c253ad3203f28bb10eede8b3a3cd3e (diff)
downloadrainbows-d8e3edadd128a2ee5712b87a6b660295de2df6be.tar.gz
Array#each will do..
Diffstat (limited to 'lib/rainbows/writer_thread_pool.rb')
-rw-r--r--lib/rainbows/writer_thread_pool.rb2
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