mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-09-16 23:54:19 +00:00
Make sure to dispose of the protected rooms set properly. (#709)
Fixes https://github.com/the-draupnir-project/Draupnir/issues/687.
This commit is contained in:
@@ -367,6 +367,7 @@ export class Draupnir implements Client, MatrixAdaptorContext {
|
||||
public stop(): void {
|
||||
this.clientRooms.off("timeline", this.timelineEventListener);
|
||||
this.reportPoller?.stop();
|
||||
this.protectedRoomsSet.unregisterListeners();
|
||||
}
|
||||
|
||||
public createRoomReference(roomID: StringRoomID): MatrixRoomID {
|
||||
|
||||
Reference in New Issue
Block a user