From d6d942a7d55999929b0b0f348dfbe9ee93a12af8 Mon Sep 17 00:00:00 2001 From: TJ Horner Date: Fri, 29 Mar 2019 11:44:47 -0700 Subject: [PATCH] comment --- concurrent/download.go | 1 + 1 file changed, 1 insertion(+) diff --git a/concurrent/download.go b/concurrent/download.go index b1d1386..3098ce0 100644 --- a/concurrent/download.go +++ b/concurrent/download.go @@ -108,6 +108,7 @@ func work(wn int, state *workState, wc chan *e621.Post) { state.Successes++ } + // Signal to main goroutine that we are done with this download wc <- nil } }