Silence RoomListStore possible memory leak warning
This commit is contained in:
parent
f4788a6427
commit
59feff3763
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ export class RoomListStoreClass extends AsyncStoreWithClient<IState> {
|
|||
|
||||
constructor() {
|
||||
super(defaultDispatcher);
|
||||
this.setMaxListeners(20); // CustomRoomTagStore + RoomList + LeftPanel + 8xRoomSubList + spares
|
||||
}
|
||||
|
||||
private setupWatchers() {
|
||||
|
|
Loading…
Reference in a new issue