mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
fix olm session cache being leaked when closing session
This commit is contained in:
parent
789a41c671
commit
b29b776e9f
@ -377,6 +377,8 @@ export class RoomEncryption {
|
|||||||
|
|
||||||
dispose() {
|
dispose() {
|
||||||
this._disposed = true;
|
this._disposed = true;
|
||||||
|
this._megolmBackfillCache.dispose();
|
||||||
|
this._megolmSyncCache.dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user