fix deadlock

This commit is contained in:
Aiden McClelland
2024-03-07 16:43:13 -07:00
parent 2e7c3bf789
commit 8665342edf
4 changed files with 9 additions and 8 deletions

View File

@@ -97,6 +97,7 @@ pub async fn recover_full_embassy(
let db = ctx.db().await?;
db.put(&ROOT, &Database::init(&os_backup.account)?).await?;
drop(db);
init(&ctx.config).await?;