diff --git a/event/feed.go b/event/feed.go index f578f00c10ff1cb1510d5d2cc89935e50f41eef4..02f3ca68759fe9475664ae946c43562df9f6033c 100644 --- a/event/feed.go +++ b/event/feed.go @@ -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.