mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-22 09:37:09 +00:00
Remove sleep
This commit is contained in:
parent
34c030e9f9
commit
292d3c3e2a
2 changed files with 0 additions and 2 deletions
|
|
@ -373,7 +373,6 @@ func TestReconnectRoomWithOverlord(t *testing.T) {
|
|||
s.Close()
|
||||
oconn.Close()
|
||||
|
||||
time.Sleep(time.Second)
|
||||
// Close server and reconnect
|
||||
|
||||
log.Println("Server respawn")
|
||||
|
|
|
|||
|
|
@ -138,7 +138,6 @@ func (c *Client) Listen() {
|
|||
for {
|
||||
_, rawMsg, err := c.conn.ReadMessage()
|
||||
if err != nil {
|
||||
log.Println("FAILED ")
|
||||
log.Println("[!] read:", err)
|
||||
// TODO: Check explicit disconnect error to break
|
||||
close(c.Done)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue