整理日志与ping自定义

This commit is contained in:
boyce
2019-03-22 18:23:29 +08:00
parent 9e75434152
commit 7f5fdca0cf
2 changed files with 11 additions and 8 deletions

View File

@@ -121,7 +121,6 @@ func (slf *WebsocketServer) startListen() {
if err != nil {
service.GetLogger().Printf(sysmodule.LEVER_FATAL, "http.ListenAndServe(%d, nil) error:%v\n", slf.port, err)
fmt.Printf("http.ListenAndServe(%d, nil) error\n", slf.port)
os.Exit(1)
}
}
@@ -159,7 +158,6 @@ func (slf *WebsocketServer) Disconnect(clientid uint64) {
}
value.conn.Close()
//slf.ReleaseClient(value)
}
func (slf *WebsocketServer) Stop() {