mirror of
https://github.com/chatmail/core.git
synced 2026-04-21 15:36:30 +03:00
Make initiate_key_transfer() non-blocking
This commit is contained in:
@@ -346,6 +346,7 @@ impl Context {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
pub(crate) async fn shall_stop_ongoing(&self) -> bool {
|
||||
match &*self.running_state.read().await {
|
||||
RunningState::Running { .. } => false,
|
||||
|
||||
Reference in New Issue
Block a user