diff --git a/aio-core/pom.xml b/aio-core/pom.xml
index b80ce55d11f3b56a51e3ee6dc2925d16d0ee7fa7..58718d171835ad88c72f9beafb2191db004d3782 100644
--- a/aio-core/pom.xml
+++ b/aio-core/pom.xml
@@ -19,7 +19,7 @@
org.smartboot.socket
smart-socket-parent
- 1.6.3
+ 1.6.4
../smart-socket-parent
diff --git a/aio-core/src/main/java/org/smartboot/socket/transport/IoServerConfig.java b/aio-core/src/main/java/org/smartboot/socket/transport/IoServerConfig.java
index 08ea4e3ebf30f09c5013963465721ad46b91673c..a5e4f431213927eca3306e62967f98ee682f16e0 100644
--- a/aio-core/src/main/java/org/smartboot/socket/transport/IoServerConfig.java
+++ b/aio-core/src/main/java/org/smartboot/socket/transport/IoServerConfig.java
@@ -39,7 +39,7 @@ final class IoServerConfig {
/**
* 当前smart-socket版本号
*/
- public static final String VERSION = "v1.6.3";
+ public static final String VERSION = "v1.6.4";
/**
* 消息体缓存大小,字节
diff --git a/aio-core/src/main/java/org/smartboot/socket/transport/TcpAioSession.java b/aio-core/src/main/java/org/smartboot/socket/transport/TcpAioSession.java
index de32db00f6a2cfb7ec13b55d6e8f989a10d11701..11e200e87ad56e8e18a160adba9ffb1bacd64e86 100644
--- a/aio-core/src/main/java/org/smartboot/socket/transport/TcpAioSession.java
+++ b/aio-core/src/main/java/org/smartboot/socket/transport/TcpAioSession.java
@@ -236,7 +236,10 @@ final class TcpAioSession extends AioSession {
if (immediate) {
try {
byteBuf.close();
- readBuffer.clean();
+ if (readBuffer != null) {
+ readBuffer.clean();
+ readBuffer = null;
+ }
if (writeBuffer != null) {
writeBuffer.clean();
writeBuffer = null;
diff --git a/aio-enhance/pom.xml b/aio-enhance/pom.xml
index d4eb5cae7cda376a459f46ea1f043d99ae0e88c2..24d3c3701ef46ed997737dbd102af2a48ee55b7f 100644
--- a/aio-enhance/pom.xml
+++ b/aio-enhance/pom.xml
@@ -14,7 +14,7 @@
smart-socket-parent
org.smartboot.socket
- 1.6.3
+ 1.6.4
../smart-socket-parent
4.0.0
diff --git a/aio-pro/pom.xml b/aio-pro/pom.xml
index 88e912163cd486f3670b3725457047d5e4dbc88a..18c6cca85721146b938301bad5c461148ffdcbad 100644
--- a/aio-pro/pom.xml
+++ b/aio-pro/pom.xml
@@ -19,7 +19,7 @@
org.smartboot.socket
smart-socket-parent
- 1.6.3
+ 1.6.4
../smart-socket-parent
diff --git a/benchmark/pom.xml b/benchmark/pom.xml
index d9a24ce1a3c33592c3d598cd09d354e85f4c9ee2..86acbfaea861574b02495fd963a496eafb832b76 100644
--- a/benchmark/pom.xml
+++ b/benchmark/pom.xml
@@ -18,7 +18,7 @@
org.smartboot.socket
aio-pro
- 1.6.3
+ 1.6.4
org.slf4j
diff --git a/example/pom.xml b/example/pom.xml
index e0f6555378e2e8229ce7e9c525a5d9833f108895..5cafdfdfd716d9b7ec840f9c2d7f77d4f5381b4d 100644
--- a/example/pom.xml
+++ b/example/pom.xml
@@ -23,7 +23,7 @@
org.smartboot.socket
aio-pro
- 1.6.3
+ 1.6.4
org.apache.commons
diff --git a/pom.xml b/pom.xml
index 9e9dc2076b14e6522c815399a2dc5ae9cdb73a98..00b48f2a66bde1ecc48b0651324b0b4abc806c8d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
org.smartboot.socket
smart-socket-parent
- 1.6.3
+ 1.6.4
2.6
diff --git a/smart-socket-parent/pom.xml b/smart-socket-parent/pom.xml
index d95f106f441eee227d554be770972f8960efa3c9..59544ffc4cbd9b9d9d1876ce88ef55b1e180aff5 100644
--- a/smart-socket-parent/pom.xml
+++ b/smart-socket-parent/pom.xml
@@ -15,14 +15,14 @@
4.0.0
org.smartboot.socket
smart-socket-parent
- 1.6.3
+ 1.6.4
pom
UTF-8
1.7.36
- 1.6.3
+ 1.6.4
4.13.2