mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 11:57:44 +08:00
race detector picked up a minor race condition, Since loop iteration reuses the same local variable, its not safe to take its address and use it concurrently. The fix is to rebind the variable into a controlled scope (creating a new variable) and taking the address of that to pass outwards. License: MIT Signed-off-by: Jeromy <why@ipfs.io> |
||
|---|---|---|
| .. | ||
| bitswap | ||
| offline | ||
| reprovide | ||
| interface.go | ||