mirror of
https://github.com/livekit/livekit.git
synced 2026-08-03 19:49:37 +00:00
loop variable captured (#945)
This commit is contained in:
@@ -214,8 +214,9 @@ func (s *LivekitServer) Start() error {
|
||||
|
||||
httpGroup := &errgroup.Group{}
|
||||
for _, ln := range listeners {
|
||||
l := ln
|
||||
httpGroup.Go(func() error {
|
||||
return s.httpServer.Serve(ln)
|
||||
return s.httpServer.Serve(l)
|
||||
})
|
||||
}
|
||||
go func() {
|
||||
|
||||
Reference in New Issue
Block a user