forked from mystiq/hydrogen-web
fix olm session cache being leaked when closing session
This commit is contained in:
parent
789a41c671
commit
b29b776e9f
1 changed files with 2 additions and 0 deletions
|
@ -377,6 +377,8 @@ export class RoomEncryption {
|
|||
|
||||
dispose() {
|
||||
this._disposed = true;
|
||||
this._megolmBackfillCache.dispose();
|
||||
this._megolmSyncCache.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue