public function CurlHandle::close

Close the curl handle

1 call to CurlHandle::close()
CurlHandle::__destruct in drupal/core/vendor/guzzle/http/Guzzle/Http/Curl/CurlHandle.php
Destructor

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Curl/CurlHandle.php, line 263

Class

CurlHandle
Immutable wrapper for a cURL handle

Namespace

Guzzle\Http\Curl

Code

public function close() {
  if (is_resource($this->handle)) {
    curl_close($this->handle);
  }
  $this->handle = null;
}