X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=php_http_client_curl.c;h=43396255994dc87fbdc8b729bca30435198579f4;hb=69ffc0bdc7ead5971fe683f9f72596a127c5ea58;hp=ce7c3db1ba5d752ff1e0db5f481fe8a0b173b5d3;hpb=c196e4812f4b506107ae25f0efd10206b37a0bea;p=m6w6%2Fext-http diff --git a/php_http_client_curl.c b/php_http_client_curl.c index ce7c3db..4339625 100644 --- a/php_http_client_curl.c +++ b/php_http_client_curl.c @@ -1980,7 +1980,11 @@ PHP_MINIT_FUNCTION(http_client_curl) PHP_MSHUTDOWN_FUNCTION(http_client_curl) { + php_persistent_handles_cleanup(ZEND_STRL("http\\Client\\Curl"), NULL, 0 TSRMLS_CC); + php_persistent_handles_cleanup(ZEND_STRL("http\\Client\\Curl\\Request"), NULL, 0 TSRMLS_CC); + php_http_options_dtor(&php_http_curle_options); + return SUCCESS; }