X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fphp_pqtxn.c;h=7d4b8b73cd9ac885780e67a391f2888765e2d8c8;hb=88440266c0a9fa8354688b5ed0d2a6cc3bf04db5;hp=021ece4c25594d591b332da5dcdd6b6edc637c64;hpb=ee121d2b99c19413619973fe8a8db18bfcb534d8;p=m6w6%2Fext-pq diff --git a/src/php_pqtxn.c b/src/php_pqtxn.c index 021ece4..7d4b8b7 100644 --- a/src/php_pqtxn.c +++ b/src/php_pqtxn.c @@ -872,6 +872,12 @@ static zend_function_entry php_pqtxn_methods[] = { {0} }; +PHP_MSHUTDOWN_FUNCTION(pqtxn) +{ + zend_hash_destroy(&php_pqtxn_object_prophandlers); + return SUCCESS; +} + PHP_MINIT_FUNCTION(pqtxn) { zend_class_entry ce = {0};