diff --git a/pkg/rtc/room_test.go b/pkg/rtc/room_test.go index 23330652d..01c539072 100644 --- a/pkg/rtc/room_test.go +++ b/pkg/rtc/room_test.go @@ -51,9 +51,6 @@ const ( ) func init() { - // the logger keeps this pointer, so it needs storage of its own: NewConfig - // yaml-marshals DefaultConfig, which reflectively copies the leveler's mutex - // while pion goroutines are locking it. logging := config.LoggingConfig{PionLevel: config.DefaultConfig.Logging.PionLevel} config.InitLoggerFromConfig(&logging) roomUpdateInterval = defaultDelay diff --git a/test/integration_helpers.go b/test/integration_helpers.go index ba71c0560..274869095 100644 --- a/test/integration_helpers.go +++ b/test/integration_helpers.go @@ -63,9 +63,6 @@ const ( var roomClient livekit.RoomService func init() { - // the logger keeps this pointer, so it needs storage of its own: NewConfig - // yaml-marshals DefaultConfig, which reflectively copies the leveler's mutex - // while pion goroutines are locking it. logging := config.LoggingConfig{PionLevel: config.DefaultConfig.Logging.PionLevel} config.InitLoggerFromConfig(&logging)