Skip to content

Commit

Permalink
Remove explicit stream finish (solana-labs#2760)
Browse files Browse the repository at this point in the history
* remove finish as it is redaundant to stream drop

* remove finish as it is redaundant to stream drop
  • Loading branch information
lijunwangs authored Aug 28, 2024
1 parent 2787139 commit 61d6a22
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion quic-client/src/nonblocking/quic_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ impl QuicClient {
let mut send_stream = connection.open_uni().await?;

send_stream.write_all(data).await?;
send_stream.finish().await?;
Ok(())
}

Expand Down

0 comments on commit 61d6a22

Please sign in to comment.