diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-28 14:34:14 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-28 14:34:14 +0200 |
commit | aefd63a429fff8d043b05cb413b6e2f8cf861930 (patch) | |
tree | f41bc2180179a1dfbebafca2f8323d64e91e7c55 /lib/edoors | |
parent | 4080ccf3aa6b32d0279b00e6050a3af8a4018c45 (diff) | |
download | edoors-ruby-aefd63a429fff8d043b05cb413b6e2f8cf861930.zip edoors-ruby-aefd63a429fff8d043b05cb413b6e2f8cf861930.tar.gz |
Spin: #spin! calls Room#start! and Room#stop!
Diffstat (limited to 'lib/edoors')
-rw-r--r-- | lib/edoors/spin.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/edoors/spin.rb b/lib/edoors/spin.rb index ec86d9f..6800c8f 100644 --- a/lib/edoors/spin.rb +++ b/lib/edoors/spin.rb @@ -206,7 +206,7 @@ module Edoors # after all Iota#stop! is called on each children, unless the system is going into hibernation # def spin! - @iotas.values.each do |iota| iota.start! end unless @hibernation + start! @run = true @hibernation = false while @run and (@sys_fifo.length>0 or @app_fifo.length>0) @@ -220,7 +220,7 @@ module Edoors break end end - @iotas.values.each do |iota| iota.stop! end unless @hibernation + stop! end # # stops the spinning |