You are here

public function CurlMultiHandler::__destruct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php \GuzzleHttp\Handler\CurlMultiHandler::__destruct()

File

vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php, line 53

Class

CurlMultiHandler
Returns an asynchronous response using curl_multi_* functions.

Namespace

GuzzleHttp\Handler

Code

public function __destruct() {
  if (isset($this->_mh)) {
    curl_multi_close($this->_mh);
    unset($this->_mh);
  }
}