forked from mirror/websocket
commit
a836c37014
|
@ -43,7 +43,7 @@ func (h *Hub) run() {
|
||||||
case conn.send <- message:
|
case conn.send <- message:
|
||||||
default:
|
default:
|
||||||
close(conn.send)
|
close(conn.send)
|
||||||
delete(hub.connections, conn)
|
delete(h.connections, conn)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue