Skip to content

Commit

Permalink
closing syncer moves it to SendNone
Browse files Browse the repository at this point in the history
  • Loading branch information
Termina1 committed Dec 27, 2024
1 parent 4ef89f6 commit ae8fc83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (sync *Syncer) logCtx(ctx context.Context) context.Context {
}

func (sync *Syncer) Close() error {
sync.SetFeedState(context.Background(), SendEOF)
sync.SetFeedState(context.Background(), SendNone)

if sync.Host == nil {
return utils.ErrClosed
Expand Down

0 comments on commit ae8fc83

Please sign in to comment.