class Ethon::Easy

def finalizer(easy)

Parameters:
  • easy (Easy) -- The easy to free.

Other tags:
    Example: Free easy handle. -
def finalizer(easy)
  proc {
    Curl.slist_free_all(easy.header_list) if easy.header_list
    Curl.easy_cleanup(easy.handle)
  }
end