don't need to dispose room keys anymore, they are owned by the loader
This commit is contained in:
parent
076f450ec7
commit
22361bdf42
2 changed files with 0 additions and 9 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -464,7 +464,6 @@ class SessionSyncProcessState {
|
|||
|
||||
dispose() {
|
||||
this.lock?.release();
|
||||
this.preparation?.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue