Skip to content

Commit 87f272d

Browse files
committed
update comment
1 parent 811c86b commit 87f272d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

streams.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func (w *baseStreamWriter[T]) processWriteQueue() {
134134
case task := <-w.writeQueue:
135135
w.writeStreamBytes(task.chunks, task.onDone)
136136
case <-w.closed.Watch():
137-
// Drain any pending tasks - we don't want to send data after the trailer
137+
// Drain any pending tasks - close sends a trailer and no data should be sent after that
138138
for {
139139
select {
140140
case <-w.writeQueue:

0 commit comments

Comments
 (0)