X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fphp_pqcancel.c;h=0edcddeddcd034aa677f9b78ce31852b11546a84;hb=0e66a82238ad0aacbf646d0016193a064a4b7ecb;hp=ba5c0e458404af84f273f75fb7141042520ce28c;hpb=5aa292d5bc46cd8fe266d682397dba19dc1e1d36;p=m6w6%2Fext-pq diff --git a/src/php_pqcancel.c b/src/php_pqcancel.c index ba5c0e4..0edcdde 100644 --- a/src/php_pqcancel.c +++ b/src/php_pqcancel.c @@ -144,6 +144,12 @@ static zend_function_entry php_pqcancel_methods[] = { {0} }; +PHP_MSHUTDOWN_FUNCTION(pqcancel) +{ + zend_hash_destroy(&php_pqcancel_object_prophandlers); + return SUCCESS; +} + PHP_MINIT_FUNCTION(pqcancel) { zend_class_entry ce = {0};