projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix description
[m6w6/ext-http]
/
php_http_client_curl.c
diff --git
a/php_http_client_curl.c
b/php_http_client_curl.c
index ce7c3db1ba5d752ff1e0db5f481fe8a0b173b5d3..43396255994dc87fbdc8b729bca30435198579f4 100644
(file)
--- 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_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);
php_http_options_dtor(&php_http_curle_options);
+
return SUCCESS;
}
return SUCCESS;
}