Changeset 502 in svn for trunk/xcache.c


Ignore:
Timestamp:
2008-01-04T18:13:34+01:00 (7 years ago)
Author:
Xuefer
Message:

clean shutdown

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r501 r502  
    16491649        xc_php_caches = NULL;
    16501650    }
    1651     xc_php_hcache.size = 0;
    16521651
    16531652    if (xc_var_caches) {
     
    16551654        xc_var_caches = NULL;
    16561655    }
    1657     xc_var_hcache.size = 0;
    16581656
    16591657    if (shm) {
     
    17341732    }
    17351733
    1736     if (xc_var_hcache.size && !XG(var_holds)) {
     1734    if (xc_initized && xc_var_hcache.size && !XG(var_holds)) {
    17371735        XG(var_holds) = calloc(xc_var_hcache.size, sizeof(xc_stack_t));
    17381736        for (i = 0; i < xc_var_hcache.size; i ++) {
Note: See TracChangeset for help on using the changeset viewer.