about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-05-29 04:20:25 +0000
committerEric Wong <normalperson@yhbt.net>2010-05-29 04:21:10 +0000
commitf1cb1ce4e76ca13c9eb0bf8cfb4a51bd9f5a58c1 (patch)
treeab3359d0b0d3939cf203b91680389efd104c999a
parent93fc16377eca1a1d5103fd91a576ff6c469f4ab1 (diff)
-rw-r--r--lib/rainbows/writer_thread_spawn.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/writer_thread_spawn.rb b/lib/rainbows/writer_thread_spawn.rb
index 1d0cfa0..95a04c0 100644
--- a/lib/rainbows/writer_thread_spawn.rb
+++ b/lib/rainbows/writer_thread_spawn.rb
@@ -106,7 +106,7 @@ module Rainbows
       CUR.delete_if do |t,q|
         q << nil
         G.tick
-        t.alive? ? thr.join(0.01) : true
+        t.alive? ? t.join(0.01) : true
       end until CUR.empty?
     end
   end