Skip to content

Commit

Permalink
bugfix: fix panic when sync reader needed to exit (#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
zgg2001 authored Jan 19, 2024
1 parent 0f374b1 commit c5ff14c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/reader/sync_standalone_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ func (r *syncStandaloneReader) StartRead(ctx context.Context) chan *entry.Entry
r.sendAOF(startOffset)
}
close(r.ch)
r.client.Close()
}()

return r.ch
Expand Down

0 comments on commit c5ff14c

Please sign in to comment.