W3cubDocs

/WordPress

Requests_Transport_cURL::__destruct()

Destructor

Source

File: wp-includes/Requests/Transport/cURL.php

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

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_transport_curl/__destruct