Skip to content

Commit 9217ae8

Browse files
committed
Fix event listener leak
1 parent e580cb8 commit 9217ae8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/controllers/organisms/RoomView.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ module.exports = {
6363
MatrixClientPeg.get().removeListener("Room.timeline", this.onRoomTimeline);
6464
MatrixClientPeg.get().removeListener("Room.name", this.onRoomName);
6565
MatrixClientPeg.get().removeListener("RoomMember.typing", this.onRoomMemberTyping);
66+
MatrixClientPeg.get().removeListener("RoomState.members", this.onRoomStateMember);
6667
}
6768
},
6869

0 commit comments

Comments
 (0)