Changeset 502 for trunk/xcache.c

Show
Ignore:
Timestamp:
01/04/2008 05:13:34 PM (11 months ago)
Author:
moo
Message:

clean shutdown

Files:
1 modified

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