Skip to content

Commit

Permalink
Merge pull request #26 from naver/fix-freezed-tailer
Browse files Browse the repository at this point in the history
fix to ensure the tailer is cleaned on termination
  • Loading branch information
sharkpc138 authored Dec 20, 2024
2 parents cd34550 + 262f0d6 commit 06a20a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/lobster/tailer/tailer.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ func (t *Tailer) doStop() {

func (t *Tailer) drain() {
t.tail.Kill(nil)
t.tail.Cleanup()

select {
case <-t.LogChan:
Expand Down

0 comments on commit 06a20a0

Please sign in to comment.