1
0
Fork 0

fix coverager shutdown to restore zend_compile_file correctly

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1031 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 2012-07-23 03:51:28 +00:00
parent 7b408558ef
commit 1ee03c9ee4
1 changed files with 1 additions and 1 deletions

View File

@ -675,7 +675,7 @@ static PHP_MINIT_FUNCTION(xcache_coverager) /* {{{ */
/* }}} */
static PHP_MSHUTDOWN_FUNCTION(xcache_coverager) /* {{{ */
{
if (old_compile_file == xc_compile_file_for_coverage) {
if (old_compile_file && zend_compile_file == xc_compile_file_for_coverage) {
zend_compile_file = old_compile_file;
}
if (xc_coveragedump_dir) {