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 29, 2024
1 parent 66ea0a2 commit d7c71ca
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 d7c71ca

Please sign in to comment.