Don't unwrap when trying to close the writer half in 08/07

This commit is contained in:
LukeMathWalker 2024-05-16 15:32:27 +02:00
parent 0665cf0b25
commit 17cfa531ba

View file

@ -41,7 +41,7 @@ mod tests {
writer.write_all(end.as_bytes()).await.unwrap();
// Close the write side of the socket
writer.shutdown().await.unwrap();
let _ = writer.shutdown().await;
}
let buffered = handle.await.unwrap();