X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_client_curl.c;fp=php_http_client_curl.c;h=43396255994dc87fbdc8b729bca30435198579f4;hb=6f4cec25ba28e123ad85146baf8c0d1b05b326b5;hp=ce7c3db1ba5d752ff1e0db5f481fe8a0b173b5d3;hpb=8ad1b79cae188958322f6c735cbd7af757ff8226;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; }