diff --git a/ws/server.go b/ws/server.go index c44a796..6ab5666 100644 --- a/ws/server.go +++ b/ws/server.go @@ -158,7 +158,6 @@ func (s *Server) scheduler(){ case client := <- s.ch.unregister: // fmt.Printf(" - client\n") - s.clients[client.io.sock] = nil delete(s.clients, client.io.sock) /* (3) Broadcast */