Browse Source

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 9 years ago
parent
commit
1ee03c9ee4
  1. 2
      mod_coverager/xc_coverager.c

2
mod_coverager/xc_coverager.c

@ -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) {

Loading…
Cancel
Save