about summary refs log tree commit homepage
diff options
context:
space:
mode:
-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