luoyangwei 1 anno fa
parent
commit
5e13f7bae4
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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 {