Silence RoomListStore possible memory leak warning

pull/21833/head
Michael Telatynski 2021-07-15 11:49:15 +01:00
parent f4788a6427
commit 59feff3763
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ export class RoomListStoreClass extends AsyncStoreWithClient<IState> {
constructor() {
super(defaultDispatcher);
this.setMaxListeners(20); // CustomRoomTagStore + RoomList + LeftPanel + 8xRoomSubList + spares
}
private setupWatchers() {