dagoof / gibb

Message broadcasting pattern for go. In order, no messages dropped, and no backup for slow receivers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any way to flush a Read Channel to avoid memory leak ?

jefree opened this issue · comments

If one writes to a Broadcaster with a Receiver that never reads from the channel and the channel is closed, the memory use for all the sent messages is never freed. Is there a way to free that memory ? Am i missing something ?