simplify vls base access (#3465)
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user