Avoid unloading an item currently being loaded by the autoloader

darcs-hash:20061016154022-ac50b-f4b74457a9e3acdcc70076f65dff4c1f00ac379f.gz
This commit is contained in:
axel 2006-10-17 01:40:22 +10:00
parent 5473711a20
commit d563e428e8

@ -630,6 +630,11 @@ static void parse_util_autounload( const wchar_t *path_var_name,
if( !tm[0] )
continue;
if( hash_get( &loaded->is_loading, item ) )
{
continue;
}
loaded_count++;