File tree Expand file tree Collapse file tree
src/main/java/com/vilyever/socketclient Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,11 +17,15 @@ Step 2. Add the dependency in the form
1717
1818``` gradle
1919dependencies {
20- compile 'com.github.vilyever:AndroidSocketClient:3.0.1 '
20+ compile 'com.github.vilyever:AndroidSocketClient:3.0.2 '
2121}
2222```
2323
2424## Updates
25+ * 3.0.2
26+ </br >
27+ 修复初次连接失败时,因CountDownTimer导致崩溃的问题 [ issue #24 ] ( /../../issues/24 )
28+
2529* 3.0.1
2630</br >
2731修复包头验证bug,by zzdwuliang
Original file line number Diff line number Diff line change 11ext {
22 buildVersionName = {
3- " 3.0.1 "
3+ " 3.0.2 "
44 }
55
66 /**
Original file line number Diff line number Diff line change @@ -1045,7 +1045,9 @@ public void run() {
10451045 self .setSocketInputReader (null );
10461046 self .setSocketConfigure (null );
10471047
1048- self .getHearBeatCountDownTimer ().cancel ();
1048+ if (self .hearBeatCountDownTimer != null ) {
1049+ self .hearBeatCountDownTimer .cancel ();
1050+ }
10491051
10501052 if (self .getSendingPacket () != null ) {
10511053 self .__i__onSendPacketCancel (self .getSendingPacket ());
You can’t perform that action at this time.
0 commit comments