This commit is contained in:
1 parent
ff1f3a0fbd
commit
526c9cc465
1 file changed
+1
-1
@@ -170,7 +170,7 @@ impl<W: AsyncWrite + Unpin> TCPNetworkEncoder<W> {
|
||||
.await
|
||||
.map_err(|err| PacketEncodeError::Message(err.to_string()))?;
|
||||
compressor
|
||||
.flush()
|
||||
.shutdown()
|
||||
.await
|
||||
.map_err(|err| PacketEncodeError::Message(err.to_string()))?;
|
||||
debug_assert!(!compressed_buf.is_empty());
|
||||
|
||||
Reference in new issue
Block a user