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 }