Skip to content

Commit 8a2d6f7

Browse files
committed
Revert to poll_close() with #1441 merged
1 parent adedad1 commit 8a2d6f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

futures-util/src/stream/forward.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ where
8484
Poll::Ready(Some(Err(e))) => return Poll::Ready(Err(e)),
8585
Poll::Ready(None) => {
8686
try_ready!(self.as_mut().sink().as_pin_mut().expect(INVALID_POLL)
87-
.poll_flush(lw));
87+
.poll_close(lw));
8888
self.as_mut().sink().set(None);
8989
return Poll::Ready(Ok(()))
9090
}

0 commit comments

Comments
 (0)