Silence RoomListStore possible memory leak warning
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user