WpOrg\Requests\Transport
Curl::__destruct
Destructor
Method of the class: Curl{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Curl = new Curl(); $Curl->__destruct();
Curl::__destruct() Curl:: destruct code WP 7.1
public function __destruct() {
if (is_resource($this->handle)) {
// phpcs:ignore PHPCompatibility.FunctionUse.RemovedFunctions.curl_closeDeprecated,Generic.PHP.DeprecatedFunctions.Deprecated
curl_close($this->handle);
}
}