Skip to content

Commit c564924

Browse files
committed
Revert "fix crash in phpdbg shutdown process when opcache is loaded"
This reverts commit 008fb28.
1 parent 008fb28 commit c564924

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sapi/phpdbg/phpdbg.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ static PHP_RSHUTDOWN_FUNCTION(phpdbg) /* {{{ */
228228
zend_hash_destroy(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD]);
229229
zend_hash_destroy(&PHPDBG_G(bp)[PHPDBG_BREAK_COND]);
230230
zend_hash_destroy(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP]);
231+
zend_hash_destroy(&PHPDBG_G(file_sources));
231232
zend_hash_destroy(&PHPDBG_G(seek));
232233
zend_hash_destroy(&PHPDBG_G(registered));
233234
zend_hash_destroy(&PHPDBG_G(watchpoints));
@@ -2136,8 +2137,6 @@ int main(int argc, char **argv) /* {{{ */
21362137
wrapper->wops->stream_opener = PHPDBG_G(orig_url_wrap_php);
21372138
}
21382139

2139-
zend_hash_destroy(&PHPDBG_G(file_sources));
2140-
21412140
zend_try {
21422141
php_module_shutdown();
21432142
} zend_end_try();

0 commit comments

Comments
 (0)