Aleksandr Bezobchuk
b3aae970d8
## Description Fixes the data race in usage of `WaitGroup`. Specifically, the case where we invoke `Wait` _before_ the first delta `Add` call when the current waitgroup counter is zero. See https://golang.org/pkg/sync/#WaitGroup.Add. Still not sure how this manifests itself in a test since the reactor has to be stopped virtually immediately after being started (I think?). Regardless, this is the appropriate fix. closes: #5968 |
4 years ago | |
---|---|---|
.. | ||
v0 | blockchain v0: fix waitgroup data race (#5970) | 4 years ago |
v2 | blockchain v0: p2p refactor (#5858) | 4 years ago |
doc.go | blockchain/v0: relax termination conditions and increase sync timeout (#5741) | 4 years ago |
msgs.go | blockchain v0: p2p refactor (#5858) | 4 years ago |