Skip to content

Commit

Permalink
Backport later interned strings destruction.
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Dec 24, 2018
1 parent 7e597f4 commit 5888fbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Zend/zend.c
Original file line number Diff line number Diff line change
Expand Up @@ -930,10 +930,6 @@ void zend_shutdown(void) /* {{{ */
GLOBAL_CONSTANTS_TABLE = NULL;
#endif
zend_destroy_rsrc_list_dtors();

#ifndef ZTS
zend_interned_strings_dtor();
#endif
}
/* }}} */

Expand Down
4 changes: 4 additions & 0 deletions main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2474,6 +2474,10 @@ void php_module_shutdown(void)

php_output_shutdown();

#ifndef ZTS
zend_interned_strings_dtor();
#endif

module_initialized = 0;

#ifndef ZTS
Expand Down

0 comments on commit 5888fbd

Please sign in to comment.