1
0
Fork 0

experiments: use stream.close() instead of .flush()

This commit is contained in:
Astro 2020-06-10 20:21:01 +02:00
parent cf17a1c60a
commit 187ef703f2
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ pub fn main_core0() {
.await? .await?
} }
} }
let _ = stream.flush().await; let _ = stream.close().await;
Ok(()) Ok(())
} }