diff --git a/iterator.go b/iterator.go index 9d72452..2ccebcb 100644 --- a/iterator.go +++ b/iterator.go @@ -37,6 +37,7 @@ func (em Table) Iterate(str string) <-chan Fragment { Rune: r, } } + close(c) }() return c