diff --git a/internal/op/hub.go b/internal/op/hub.go index 9de4539..6afeb41 100644 --- a/internal/op/hub.go +++ b/internal/op/hub.go @@ -22,8 +22,8 @@ type clients struct { type Hub struct { broadcast chan *broadcastMessage exit chan struct{} - clients rwmap.RWMap[string, *clients] id string + clients rwmap.RWMap[string, *clients] wg sync.WaitGroup once utils.Once closed uint32