fix: fixing client map size
This commit is contained in:
@@ -41,7 +41,7 @@ func NewHub() *Hub {
|
||||
Broadcast: make(chan []byte, 1),
|
||||
Register: make(chan *Client, 1),
|
||||
Unregister: make(chan *Client, 1),
|
||||
Clients: make(map[*Client]bool, 1),
|
||||
Clients: make(map[*Client]bool, 0),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user