luoyangwei 1 rok temu
rodzic
commit
5e13f7bae4
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      server/hub.go

+ 1 - 0
server/hub.go

@@ -49,6 +49,7 @@ func (h *Hub) run() {
 			// if c, ok := h.clients[client.UserId]; ok {
 			// 	h.Disconnect <- c
 			// }
+
 			h.clients[client.UserId] = client
 			h.mutex.Unlock()
 			if h.Nats != nil {