Delete all live-kit rooms when server is shut down

This commit is contained in:
Antonio Scandurra 2022-10-20 14:34:05 +02:00
parent 76a1b81e45
commit 5dc82d3df8
3 changed files with 60 additions and 4 deletions

View file

@ -519,6 +519,10 @@ impl Store {
self.rooms.get(&room_id)
}
pub fn rooms(&self) -> &BTreeMap<RoomId, proto::Room> {
&self.rooms
}
pub fn call(
&mut self,
room_id: RoomId,