mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-28 15:21:57 +08:00
Avoid unloading an item currently being loaded by the autoloader
darcs-hash:20061016154022-ac50b-f4b74457a9e3acdcc70076f65dff4c1f00ac379f.gz
This commit is contained in:
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++;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user