mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
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() {
|
constructor() {
|
||||||
super(defaultDispatcher);
|
super(defaultDispatcher);
|
||||||
|
this.setMaxListeners(20); // CustomRoomTagStore + RoomList + LeftPanel + 8xRoomSubList + spares
|
||||||
}
|
}
|
||||||
|
|
||||||
private setupWatchers() {
|
private setupWatchers() {
|
||||||
|
|
Loading…
Reference in a new issue