Skip to content

Commit

Permalink
event: remove unused field closed (ethereum#20324)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan committed Aug 26, 2024
1 parent 1f45af0 commit 0001e71
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions event/feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ type Feed struct {
sendCases caseList // the active set of select cases used by Send

// The inbox holds newly subscribed channels until they are added to sendCases.
mu sync.Mutex
inbox caseList
etype reflect.Type
closed bool
mu sync.Mutex
inbox caseList
etype reflect.Type
}

// This is the index of the first actual subscription channel in sendCases.
Expand Down

0 comments on commit 0001e71

Please sign in to comment.