public function CurlMulti::__destruct

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php, line 135

Class

CurlMulti
Send { This implementation allows callers to send blocking requests that return back to the caller when their requests complete, regardless of whether or not previously sending requests in the curl_multi object have completed. The implementation…

Namespace

Guzzle\Http\Curl

Code

public function __destruct() {
  if (is_resource($this->multiHandle)) {
    curl_multi_close($this->multiHandle);
  }
}