Method: Threadless::Executor#close
- Defined in:
- lib/threadless.rb
#close ⇒ Object
57 58 59 60 61 62 63 64 65 66 |
# File 'lib/threadless.rb', line 57 def close return if @closed @closed = true @body.close if @body.respond_to?(:close) @procs.each do |proc| proc.call end end |