simplify vls base access (#3465)

This commit is contained in:
Paul Wells
2025-02-26 09:34:59 +05:30
committed by GitHub
parent 7350e99331
commit 43bd251575
6 changed files with 16 additions and 60 deletions
+1 -4
View File
@@ -197,10 +197,7 @@ func (r *RoomManager) CloseIdleRooms() {
r.lock.RUnlock()
for _, room := range rooms {
reason := room.CloseIfEmpty()
if reason != "" {
room.Logger.Infow("closing idle room", "reason", reason)
}
room.CloseIfEmpty()
}
}