mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-23 21:31:14 -03:00
Avoid unloading an item currently being loaded by the autoloader
darcs-hash:20061016154022-ac50b-f4b74457a9e3acdcc70076f65dff4c1f00ac379f.gz
This commit is contained in:
@@ -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++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user