fix olm session cache being leaked when closing session

This commit is contained in:
Bruno Windels 2020-10-14 11:25:49 +02:00
parent 789a41c671
commit b29b776e9f

View File

@ -377,6 +377,8 @@ export class RoomEncryption {
dispose() { dispose() {
this._disposed = true; this._disposed = true;
this._megolmBackfillCache.dispose();
this._megolmSyncCache.dispose();
} }
} }