carapace-sh/carapace

storage: fix mutex

rsteube opened this issue · 0 comments

Current Behavior

use of mutex is not yet correct and can cause concurrent map read/write

Expected Behavior

No response

Steps To Reproduce

No response

Version

No response

OS

  • Linux
  • OSX
  • Windows

Shell

  • Bash
  • Elvish
  • Fish
  • Nushell
  • Oil
  • Powershell
  • Xonsh
  • Zsh

Anything else?

sync.Map might be of use