Step 1 in nuking the garbage collector:

- Change the hash destructor to return int
- Don't kill the bucket on hash_destroy if the destructor returns 0
This commit is contained in:
Zeev Suraski 1999-07-09 17:24:47 +00:00
parent db1e0bc820
commit 81d901b14d
15 changed files with 50 additions and 31 deletions

View file

@ -52,4 +52,5 @@ extern void module_destructor(zend_module_entry *module);
extern int module_registry_cleanup(zend_module_entry *module);
extern int module_registry_request_startup(zend_module_entry *module);
#define ZEND_MODULE_DTOR (int (*)(void *)) module_destructor
#endif