Delete all live-kit rooms when server is shut down
This commit is contained in:
parent
76a1b81e45
commit
5dc82d3df8
3 changed files with 60 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue