Finished channel is already closed
This commit is contained in:
parent
c7b4f74333
commit
e572542330
|
@ -52,6 +52,5 @@ func (s *Subscription) Done() <-chan struct{} {
|
|||
}
|
||||
|
||||
func (s *Subscription) Close() {
|
||||
close(s.result)
|
||||
close(s.done)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue