don't need to dispose room keys anymore, they are owned by the loader

This commit is contained in:
Bruno Windels 2021-10-22 18:08:09 +02:00
parent 076f450ec7
commit 22361bdf42
2 changed files with 0 additions and 9 deletions

View file

@ -67,12 +67,4 @@ class SyncPreparation {
this.newRoomKeys = newRoomKeys;
this.newKeysByRoom = groupBy(newRoomKeys, r => r.roomId);
}
dispose() {
if (this.newRoomKeys) {
for (const k of this.newRoomKeys) {
k.dispose();
}
}
}
}

View file

@ -464,7 +464,6 @@ class SessionSyncProcessState {
dispose() {
this.lock?.release();
this.preparation?.dispose();
}
}