Method: Concurrent::Selectable::Base#close
- Defined in:
- lib/concurrent/selectable/common.rb
#close ⇒ Object
Manually releases the IO resources associated with the primitive
66 67 68 69 70 71 72 73 |
# File 'lib/concurrent/selectable/common.rb', line 66 def close [ @read, @write ].each do |port| begin port.close rescue Exception end end end |