Remove tail cleanup call to avoid double decrement (#6089)
This commit is contained in:
@@ -294,7 +294,6 @@ func (l *LogParserPlugin) Stop() {
|
||||
if err != nil {
|
||||
log.Printf("E! Error stopping tail on file %s\n", t.Filename)
|
||||
}
|
||||
t.Cleanup()
|
||||
}
|
||||
close(l.done)
|
||||
l.wg.Wait()
|
||||
|
||||
Reference in New Issue
Block a user