diff --git a/distribusi.go b/distribusi.go index 66b3a4f..440b649 100644 --- a/distribusi.go +++ b/distribusi.go @@ -312,6 +312,9 @@ Example: ch <- nil return }() + } else { + // close the channel, we're not serving anything + ch <- nil } for i := 1; i <= 2; i++ {