You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/accounts.rs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -458,7 +458,9 @@ impl Config {
458
458
rx.await?;
459
459
Ok(())
460
460
});
461
-
locked_rx.await?;
461
+
if locked_rx.await.is_err(){
462
+
bail!("Delta Chat is already running. To use Delta Chat, you must first close the existing Delta Chat process, or restart your device. (accounts.lock file is already locked)");
bail!("Delta Chat is already running. To use Delta Chat, you must first close the existing Delta Chat process, or restart your device.\n\n(accounts.lock file is already locked)");
483
-
};
483
+
let lock_task = Self::create_lock_task(dir.to_path_buf()).await?;
0 commit comments