左晓为主开发手持机充值管理机
easysocket/src/main/java/com/easysocket/EasySocket.java
@@ -12,8 +12,6 @@
import com.easysocket.interfaces.conn.ISocketActionListener;
import com.easysocket.utils.LogUtil;
import java.nio.charset.Charset;
/**
 * Author:Alex
 * Date:2019/6/4
@@ -129,8 +127,9 @@
     */
    public EasySocket disconnect(boolean isNeedReconnect) {
        LogUtil.d("EasySocket--》disconnect");
        if (defConnection != null)
        getDefconnection().disconnect(isNeedReconnect);
        if (defConnection != null) {
            getDefconnection().disconnect(isNeedReconnect);
        }
        return this;
    }