Don't unwrap when trying to close the writer half in 08/07
This commit is contained in:
parent
0665cf0b25
commit
17cfa531ba
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue