mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-06 13:11:17 +00:00
`FairMix.AddSource` takes ownership of the supplied iterator, but if the mixer has already been closed it currently returns without closing that iterator. Close the rejected source in this shutdown path so callers racing with `Close` do not leak iterator resources. |
||
|---|---|---|
| .. | ||
| idscheme.go | ||
| idscheme_test.go | ||
| iter.go | ||
| iter_test.go | ||
| localnode.go | ||
| localnode_test.go | ||
| node.go | ||
| node_test.go | ||
| nodedb.go | ||
| nodedb_test.go | ||
| urlv4.go | ||
| urlv4_test.go | ||