From c1f14e8cfb5679f8dc4376e679ffb45874d259df Mon Sep 17 00:00:00 2001 From: Arijit Das Date: Mon, 1 Jun 2020 15:19:32 +0530 Subject: [PATCH] Add comment. --- emitter.go | 1 + 1 file changed, 1 insertion(+) diff --git a/emitter.go b/emitter.go index 73000d9..00efb32 100644 --- a/emitter.go +++ b/emitter.go @@ -52,6 +52,7 @@ func Start(plugins *InOutPlugins, stop chan int) { } } +// Close closes all the goroutine and waits for it to finish. func Close(quit chan int) { closeOnce.Do(func() { close(quit)