Changeset 1031 in svn


Ignore:
Timestamp:
2012-07-23T05:51:28+02:00 (3 years ago)
Author:
Xuefer
Message:

fix coverager shutdown to restore zend_compile_file correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_coverager/xc_coverager.c

    r1027 r1031  
    676676static PHP_MSHUTDOWN_FUNCTION(xcache_coverager) /* {{{ */
    677677{
    678     if (old_compile_file == xc_compile_file_for_coverage) {
     678    if (old_compile_file && zend_compile_file == xc_compile_file_for_coverage) {
    679679        zend_compile_file = old_compile_file;
    680680    }
Note: See TracChangeset for help on using the changeset viewer.