mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 08:46:10 +08:00
Fix a misleading stale comment
This commit is contained in:
parent
d5d3712220
commit
8f8e19bf7b
@ -70,8 +70,7 @@ int autoload_t::load(const wcstring &cmd, bool reload) {
|
||||
// Do we know where to look?
|
||||
if (path_var.missing_or_empty()) return 0;
|
||||
|
||||
// Check if the lookup path has changed. If so, drop all loaded files. path_var may only be
|
||||
// inspected on the main thread.
|
||||
// Check if the lookup path has changed. If so, drop all loaded files.
|
||||
if (*path_var != this->last_path) {
|
||||
this->last_path = *path_var;
|
||||
this->last_path_tokenized.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user