Module: Typhoeus::EasyFu::FFIHelper::ClassMethods
- Defined in:
- lib/typhoeus/easy/ffi_helper.rb
Instance Method Summary collapse
Instance Method Details
#finalizer(easy) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/typhoeus/easy/ffi_helper.rb', line 9 def finalizer(easy) proc { Curl.slist_free_all(easy.header_list) if easy.header_list Curl.easy_cleanup(easy.handle) } end |