Skip to content

Commit

Permalink
fix: mark logs as saved properly (#6158)
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 authored Feb 6, 2025
1 parent c9d2504 commit 3fdef60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/runner/executionlogswriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,11 @@ func (e *executionLogsWriter) Save(ctx context.Context) error {
func (e *executionLogsWriter) cleanup() {
if e.writer != nil {
e.writer.Close()
e.writer = nil
}
if e.buffer != nil {
e.buffer.Cleanup()
e.buffer = nil
}
}

Expand Down

0 comments on commit 3fdef60

Please sign in to comment.