From 5047265f740ca12fafe15d35e46727e78b8947d8 Mon Sep 17 00:00:00 2001 From: adaspace <1528884535@qq.com> Date: Mon, 5 Aug 2024 15:56:12 +0800 Subject: [PATCH] readme update --- network/websocket.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/network/websocket.go b/network/websocket.go index 996474d0..7e9f15ea 100644 --- a/network/websocket.go +++ b/network/websocket.go @@ -58,7 +58,7 @@ func (this *OnlineUser) readLoop() { glog.Info("协程的数量 :", runtime.NumGoroutine()) //this.Connection.Close() //runtime.Goexit() - return + //return } //break continue @@ -70,7 +70,7 @@ func (this *OnlineUser) readLoop() { //glog.Info("协程的数量 :", runtime.NumGoroutine()) //this.Connection.Close() //runtime.Goexit() - return + //return //default: // fmt.Println("Channel is empty, unable to read data") } @@ -98,7 +98,7 @@ func (this *OnlineUser) handleLoop() { //glog.Info("协程的数量 :", runtime.NumGoroutine()) //this.Connection.Close() //runtime.Goexit() - return + //return } if len(r.req) <= 0 { continue