Not force closing all rooms may be a good idea
This commit is contained in:
@@ -34,7 +34,10 @@ public class RoomManager : IRoomManager
|
||||
|
||||
public void RemoveAllRooms()
|
||||
{
|
||||
Rooms.Clear();
|
||||
foreach (var room in Rooms.Where(room => room.Value.IsEmpty()))
|
||||
{
|
||||
Rooms.Remove(room.Key);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user