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 12, 2024
1 parent 2280f2c commit 382ad93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions network/websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ func InitConnection(wsConn *websocket.Conn) (*OnlineUser, error) {
Connection: wsConn,
inChan: make(chan string, BytebufLen),
}

defer conn.Connection.Close()

go conn.handleLoop()
//conn.readLoop()

Expand Down

0 comments on commit 382ad93

Please sign in to comment.