mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-31 06:31:39 +01:00
don't need to dispose room keys anymore, they are owned by the loader
This commit is contained in:
parent
076f450ec7
commit
22361bdf42
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user