lib/async_fu.rb in amirka-async-fu-1.1.1 vs lib/async_fu.rb in amirka-async-fu-1.1.2
- old
+ new
@@ -1,9 +1,8 @@
require 'fastthread'
class AsyncFu
def initialize(obj = nil)
@class = obj || self
- @guard = Mutex.new
at_exit{
unless @exit
until Thread.list.size == 1 do Thread.pass end
end
}
\ No newline at end of file