WpOrg\Requests\Transport

Curl::__destruct()publicWP 1.0

Destructor

Method of the class: Curl{}

No Hooks.

Return

null. Nothing (null).

Usage

$Curl = new Curl();
$Curl->__destruct();

Curl::__destruct() code WP 6.6.2

public function __destruct() {
	if (is_resource($this->handle)) {
		curl_close($this->handle);
	}
}