From 3aa17f7c0744e102d7720f16801b4b2bd2693c95 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 14 Aug 2023 13:29:05 +0800 Subject: [PATCH] 1 --- prototils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prototils.go b/prototils.go index 1bc761a..f446eab 100644 --- a/prototils.go +++ b/prototils.go @@ -76,7 +76,7 @@ func (this *WspCliConn) IsValid() bool { return this.Conn == nil || this.SocketHandle == 0 } -func (this *WspCliConn) Reset() bool { +func (this *WspCliConn) Reset() { this.Conn = nil this.SocketHandle = 0 }