Silence RoomListStore possible memory leak warning

This commit is contained in:
Michael Telatynski 2021-07-15 11:49:15 +01:00
parent f4788a6427
commit 59feff3763

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() {