jiusetian / EasySocket

一个轻量级的Android端Socket框架,可快速实现客户端和服务端之间的TCP长连接通讯,兼容于各种消息协议,框架的特色之一是可以实现Socket的消息回调功能
396 stars 86 forks source link

java.lang.NullPointerException: Attempt to invoke virtual method 'void java.lang.Thread.join()' on a null object reference #45

Open KateJun opened 1 year ago

KateJun commented 1 year ago

v2.1.1 image 一直开着,时间久了会报错 java.lang.NullPointerException: Attempt to invoke virtual method 'void java.lang.Thread.join()' on a null object reference at com.easysocket.connection.iowork.EasyWriter.shutDownThread(EasyWriter.java:142) at com.easysocket.connection.iowork.EasyWriter.closeWriter(EasyWriter.java:130) at com.easysocket.connection.iowork.IOManager.closeIO(IOManager.java:65) at com.easysocket.connection.connect.SuperConnection$DisconnectThread.run(SuperConnection.java:192)

KateJun commented 1 year ago

image

KateJun commented 1 year ago

企业微信截图_16838577148621 企业微信截图_16838577242301 断开重连内存一直增加