fix double close on chan

This commit is contained in:
rasmus 2022-11-07 00:07:25 +02:00
parent 689ecbcca3
commit d08bbf250a
1 changed files with 0 additions and 1 deletions

View File

@ -69,7 +69,6 @@ func (s *submitter) shipFile(ctx context.Context, name string, recordLimitBytes
defer close(lineChan)
sendChan := make(chan mLog, SendQueueLimit)
defer close(sendChan)
go s.parseLines(recordLimitBytes, lineChan, sendChan)