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)) {
await this._writeSSSSKey(key);
this._keyBackup.get().flush(log);
return key;
}
});