mirror of https://github.com/ethereum/go-ethereum
core/bloombits: fix deadlock when matcher session hits an error (#28184)
When MatcherSession encounters an error, it attempts to close the session. Closing waits for all goroutines to finish, including the 'distributor'. However, the distributor will not exit until all requests have returned. This patch fixes the issue by delivering the (empty) result to the distributor before calling Close().pull/28196/head
parent
d051ea5e89
commit
c2cfe35f12
Loading…
Reference in new issue