feat: investigate memory leak

This commit is contained in:
Krzysztof Dryś 2023-11-14 10:27:50 +01:00
parent 9aab6dbd02
commit 5db753eb31

View File

@ -62,6 +62,7 @@ func (h *ConnectionHandler) getHub(channel string) *Hub {
go hub.Run() go hub.Run()
h.channels[channel] = hub h.channels[channel] = hub
logging.Errorf("Starting new hub, there are %d hubs in total", len(h.channels))
} }
return hub return hub