We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d3805c commit a625f42Copy full SHA for a625f42
deltachat-ffi/src/lib.rs
@@ -4894,7 +4894,7 @@ pub unsafe extern "C" fn dc_accounts_background_fetch_with_timeout(
4894
4895
let accounts = &*accounts;
4896
block_on(async move {
4897
- let accounts = accounts.write().await;
+ let accounts = accounts.read().await;
4898
match accounts
4899
.background_fetch_with_timeout(Duration::from_secs(timeout_in_seconds))
4900
.await
0 commit comments