Add BUG comment about aggregator draining.
This commit is contained in:
parent
606d120541
commit
ca1eb66df4
|
@ -289,6 +289,7 @@ func (a *Aggregator) Dispatch(s SummaryReceiver) {
|
|||
case req := <-a.closeRequests:
|
||||
a.closeInternal()
|
||||
req.done <- true
|
||||
// BUG: Simply returning here will prevent proper draining. Fix this.
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue