Fix event listener leak

pull/258/head
David Baker 2015-10-26 10:30:12 +00:00
parent e580cb809d
commit 9217ae8fbb
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ module.exports = {
MatrixClientPeg.get().removeListener("Room.timeline", this.onRoomTimeline);
MatrixClientPeg.get().removeListener("Room.name", this.onRoomName);
MatrixClientPeg.get().removeListener("RoomMember.typing", this.onRoomMemberTyping);
MatrixClientPeg.get().removeListener("RoomState.members", this.onRoomStateMember);
}
},