mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
Fix for a missing lock in complete_remove
This commit is contained in:
parent
fb2ed355ec
commit
9204780c1b
1 changed files with 1 additions and 0 deletions
|
@ -528,6 +528,7 @@ void complete_remove( const wchar_t *cmd,
|
|||
{
|
||||
CHECK( cmd, );
|
||||
scoped_lock lock(completion_lock);
|
||||
scoped_lock lock2(completion_entry_lock);
|
||||
|
||||
completion_entry_t tmp_entry(cmd, cmd_is_path, L"", false);
|
||||
completion_entry_set_t::iterator iter = completion_set.find(&tmp_entry);
|
||||
|
|
Loading…
Reference in a new issue