X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqtxn.c;h=7d4b8b73cd9ac885780e67a391f2888765e2d8c8;hp=411b7fbc587905fc70335efa26cf3ede176cdc42;hb=0bce4e6693c3077acc32f833442769cc7de121ef;hpb=6c838021951716e5b37a0c891cd40c669268de8c diff --git a/src/php_pqtxn.c b/src/php_pqtxn.c index 411b7fb..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}; @@ -886,6 +892,7 @@ PHP_MINIT_FUNCTION(pqtxn) php_pqtxn_object_handlers.write_property = php_pq_object_write_prop; php_pqtxn_object_handlers.clone_obj = NULL; php_pqtxn_object_handlers.get_property_ptr_ptr = NULL; + php_pqtxn_object_handlers.get_gc = NULL; php_pqtxn_object_handlers.get_properties = php_pq_object_properties; php_pqtxn_object_handlers.get_debug_info = php_pq_object_debug_info;