1
This commit is contained in:
parent
bda6cd38df
commit
194793c178
@ -81,7 +81,7 @@ type WSProxyPackHead_S struct {
|
||||
}
|
||||
|
||||
func (this *WspCliConn) IsValid() bool {
|
||||
return this.Conn == nil || this.SocketHandle == 0
|
||||
return this.Conn != nil && this.SocketHandle != 0
|
||||
}
|
||||
|
||||
func (this *WspCliConn) Reset() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user