From 70b93fd7277515d494c91b206b0d070ad951b341 Mon Sep 17 00:00:00 2001 From: Yihang Wang Date: Tue, 16 Jan 2024 21:56:43 +0800 Subject: [PATCH] fix: incomplete write --- gojob.go | 1 - 1 file changed, 1 deletion(-) diff --git a/gojob.go b/gojob.go index 0128964..c6ebc94 100644 --- a/gojob.go +++ b/gojob.go @@ -198,7 +198,6 @@ func (s *Scheduler) Start() { func (s *Scheduler) Wait() { s.WaitGroup.Wait() - close(s.WriterChan) } func (s *Scheduler) Worker() chan string {