Browse Source
Revert "fix crash in phpdbg shutdown process when opcache is loaded"
This reverts commit 008fb28eaf.
pull/2401/head
Joe Watkins
10 years ago
No known key found for this signature in database
GPG Key ID: F9BA0ADA31CBD89E
1 changed files with
1 additions and
2 deletions
-
sapi/phpdbg/phpdbg.c
|
|
|
@ -228,6 +228,7 @@ static PHP_RSHUTDOWN_FUNCTION(phpdbg) /* {{{ */ |
|
|
|
zend_hash_destroy(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD]); |
|
|
|
zend_hash_destroy(&PHPDBG_G(bp)[PHPDBG_BREAK_COND]); |
|
|
|
zend_hash_destroy(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP]); |
|
|
|
zend_hash_destroy(&PHPDBG_G(file_sources)); |
|
|
|
zend_hash_destroy(&PHPDBG_G(seek)); |
|
|
|
zend_hash_destroy(&PHPDBG_G(registered)); |
|
|
|
zend_hash_destroy(&PHPDBG_G(watchpoints)); |
|
|
|
@ -2136,8 +2137,6 @@ phpdbg_out: |
|
|
|
wrapper->wops->stream_opener = PHPDBG_G(orig_url_wrap_php); |
|
|
|
} |
|
|
|
|
|
|
|
zend_hash_destroy(&PHPDBG_G(file_sources)); |
|
|
|
|
|
|
|
zend_try { |
|
|
|
php_module_shutdown(); |
|
|
|
} zend_end_try(); |
|
|
|
|