flush after enabling key backup

This commit is contained in:
Bruno Windels 2022-01-28 16:36:42 +01:00
parent c9b5ce6508
commit a97d235cf5

View File

@ -204,6 +204,7 @@ export class Session {
]); ]);
if (await this._createKeyBackup(key, readTxn, log)) { if (await this._createKeyBackup(key, readTxn, log)) {
await this._writeSSSSKey(key); await this._writeSSSSKey(key);
this._keyBackup.get().flush(log);
return key; return key;
} }
}); });