We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b82e7ce commit b2a1ffeCopy full SHA for b2a1ffe
wr_store.c
@@ -41,6 +41,12 @@ void wr_store_init() /* {{{ */
41
void wr_store_destroy() /* {{{ */
42
{
43
wr_store *store = WR_G(store);
44
+ zend_object_dtor_obj_t orig_dtor;
45
+ ulong key;
46
+
47
+ ZEND_HASH_FOREACH_NUM_KEY_PTR(&store->old_dtors, key, orig_dtor) {
48
+ ((zend_object_handlers *)key)->dtor_obj = orig_dtor;
49
+ } ZEND_HASH_FOREACH_END();
50
51
zend_hash_destroy(&store->old_dtors);
52
zend_hash_destroy(&store->objs);
0 commit comments