about summary refs log tree commit homepage
path: root/lib/rainbows/thread_pool.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-11 20:54:05 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-11 20:54:05 -0700
commita267b68ad921d115615abfc15de25a947e86fe38 (patch)
tree54f2aeb3d958a85ff31c89f1a569e5e78f0dda6c /lib/rainbows/thread_pool.rb
parent90a03ee550741465ea43fd70e087851e17246fb6 (diff)
downloadrainbows-a267b68ad921d115615abfc15de25a947e86fe38.tar.gz
They were completely broken in the refactoring :x
Diffstat (limited to 'lib/rainbows/thread_pool.rb')
-rw-r--r--lib/rainbows/thread_pool.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/thread_pool.rb b/lib/rainbows/thread_pool.rb
index 647436b..ba85051 100644
--- a/lib/rainbows/thread_pool.rb
+++ b/lib/rainbows/thread_pool.rb
@@ -30,7 +30,7 @@ module Rainbows
           thr.join(timeout) and break
         end
       end
-      join_threads(threads)
+      join_threads(pool, worker)
     end
 
     def new_worker_thread