about summary refs log tree commit homepage
path: root/lib/rainbows/fiber_spawn.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-05 17:18:05 -0800
committerEric Wong <normalperson@yhbt.net>2011-01-06 14:14:30 -0800
commit31a93152c8977f31045bd182ae99df4ebd088abf (patch)
tree5e981f28e1a4e330bd8433b248a124fa07cb580d /lib/rainbows/fiber_spawn.rb
parent6bde32081338ce8075854f4c47ce8ca5347df919 (diff)
downloadrainbows-31a93152c8977f31045bd182ae99df4ebd088abf.tar.gz
We noticed a few more things that could be cleaned
up after the last commit.
Diffstat (limited to 'lib/rainbows/fiber_spawn.rb')
-rw-r--r--lib/rainbows/fiber_spawn.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/fiber_spawn.rb b/lib/rainbows/fiber_spawn.rb
index 84df30d..b8552d7 100644
--- a/lib/rainbows/fiber_spawn.rb
+++ b/lib/rainbows/fiber_spawn.rb
@@ -23,6 +23,6 @@ module Rainbows::FiberSpawn
       end
     rescue => e
       Rainbows::Error.listen_loop(e)
-    end while Rainbows.alive || Rainbows.cur > 0
+    end while Rainbows.cur_alive
   end
 end