scene
This commit is contained in:
@@ -82,7 +82,7 @@ func (s *WSServer) OnClose(c gnet.Conn, err error) (action gnet.Action) {
|
||||
ws, ok := c.Context().(*WSConn)
|
||||
if ok {
|
||||
ws.isClose = true
|
||||
ws.logger.Warnf("connection close: %v --------------------------------------------------", err)
|
||||
ws.logger.Warnf("connection close, err: %v", err)
|
||||
return gnet.Action(s.i.OnClose(ws, err))
|
||||
}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user