diff options
author | Jérémy <jeremy@asynk.ch> | 2012-05-10 21:24:13 +0200 |
---|---|---|
committer | Jérémy <jeremy@asynk.ch> | 2012-05-10 21:24:13 +0200 |
commit | 9b704b544d33ab3db45a3519bd25aa27c25d89ad (patch) | |
tree | 079e3045b764d5dc98cd6013f2b19841146ca6d4 /lib/evendoors | |
parent | 8e2408c735e659741542d66cd032d4c3405cd5e0 (diff) | |
download | edoors-ruby-9b704b544d33ab3db45a3519bd25aa27c25d89ad.zip edoors-ruby-9b704b544d33ab3db45a3519bd25aa27c25d89ad.tar.gz |
Spin: #clear! clears pool too and set @spin=nil
Diffstat (limited to 'lib/evendoors')
-rw-r--r-- | lib/evendoors/spin.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/evendoors/spin.rb b/lib/evendoors/spin.rb index 6b88a55..5608f46 100644 --- a/lib/evendoors/spin.rb +++ b/lib/evendoors/spin.rb @@ -59,6 +59,8 @@ module EvenDoors end # def clear! + @spin= nil + @pool.clear @sys_fifo.clear @app_fifo.clear end |