Skip to content

Commit

Permalink
update data info
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jul 13, 2024
1 parent 151a652 commit 021ffc5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions network/websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,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")
}
Expand Down Expand Up @@ -97,8 +97,7 @@ func (this *OnlineUser) handleLoop() {
//glog.Info("协程的数量 :", runtime.NumGoroutine())
//this.Connection.Close()
//runtime.Goexit()
//return
continue
return
}
if len(r.req) <= 0 {
continue
Expand Down

0 comments on commit 021ffc5

Please sign in to comment.