Skip to content

Conversation

@Chain-Fox
Copy link
Contributor

In event/feed.go,
func Send(), f.mu.Lock() is on L135,
and f.mu.Unlock() is on L143.
However, there is a panic on L141.
If the panic is executed, f.mu will still be locked even after recovery.
The fix is to add f.mu.Unlock() before panic.

@fjl fjl merged commit 1821328 into ethereum:master Feb 12, 2020
enriquefynn pushed a commit to enriquefynn/go-ethereum that referenced this pull request Mar 10, 2021
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Aug 29, 2024
gzliudan added a commit to XinFinOrg/XDPoSChain that referenced this pull request Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants