Changeset 449 for branches/1.2/xcache.c


Ignore:
Timestamp:
2007-07-12T04:32:54+02:00 (7 years ago)
Author:
moo
Message:

fix compiling state after compiling non cachable files, thanks PatrickDK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/xcache.c

    r446 r449  
    967967    if (!XG(initial_compile_file_called)) { 
    968968        xc_sandbox_free(&sandbox, XC_InstallNoBinding TSRMLS_CC); 
    969         return op_array; 
    970     } 
     969        ENTER_LOCK(cache) { 
     970            cache->compiling = 0; 
     971        } LEAVE_LOCK(cache); 
     972        return op_array; 
     973    } 
    971974 
    972975    filename = h->opened_path ? h->opened_path : h->filename; 
Note: See TracChangeset for help on using the changeset viewer.