Encoder执行完后进行空间释放

This commit is contained in:
=
2023-11-09 09:00:52 +08:00
parent 6c6506c677
commit fc1ba4eb1a
@@ -100,6 +100,7 @@ public class ProxyMessageEncoder extends MessageToByteEncoder<ProxyMessage> {
byte[] encryptedData = SmEncryptUtil.encryptBySm4(secureKey, data);
out.writeInt(encryptedData.length);
out.writeBytes(encryptedData);
buf.release();
}
}