mirror of
https://github.com/bitwarden/browser
synced 2026-02-23 16:13:21 +00:00
Prevent await race condition
This commit is contained in:
@@ -104,7 +104,7 @@ export class DefaultEncryptedMigrationsSchedulerService
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.isMigrating || (await this.encryptedMigrator.isRunningMigrations())) {
|
||||
if (this.isMigrating || this.encryptedMigrator.isRunningMigrations()) {
|
||||
this.logService.info(
|
||||
`[EncryptedMigrationsScheduler] Skipping migration check for user ${userId} because migrations are already in progress`,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user