gotd: don't return run context error from channel state

This commit is contained in:
Tulir Asokan
2025-12-12 16:16:06 +02:00
parent 095bd65d51
commit d6a8e6a648

View File

@@ -98,7 +98,7 @@ func (s *channelState) Push(ctx context.Context, u channelUpdate) error {
case <-ctx.Done():
return ctx.Err()
case <-s.runCtx.Done():
return s.runCtx.Err()
return nil
case s.updates <- u:
return nil
}