From 9b704b544d33ab3db45a3519bd25aa27c25d89ad Mon Sep 17 00:00:00 2001 From: Jérémy Date: Thu, 10 May 2012 21:24:13 +0200 Subject: Spin: #clear! clears pool too and set @spin=nil --- lib/evendoors/spin.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') 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 -- cgit v1.2.3