mirror of https://github.com/gorilla/websocket.git
Update hub.go
This commit is contained in:
parent
54f9decdbf
commit
b5afd49817
|
@ -43,7 +43,7 @@ func (h *Hub) run() {
|
|||
case conn.send <- message:
|
||||
default:
|
||||
close(conn.send)
|
||||
delete(hub.connections, conn)
|
||||
delete(h.connections, conn)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue