Finished channel is already closed

This commit is contained in:
2014-09-12 00:05:44 +04:00
parent c7b4f74333
commit e572542330
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -52,6 +52,5 @@ func (s *Subscription) Done() <-chan struct{} {
}
func (s *Subscription) Close() {
close(s.result)
close(s.done)
}