Browse Source

imap: send 'finished' signal when watch thread dies

tags/pre-alpha-0.4.0^0
Manos Pitsidianakis 2 months ago
parent
commit
3dc0cb1963
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS. GPG Key ID: 73627C2F690DF710
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      melib/src/backends/imap/watch.rs

+ 1
- 0
melib/src/backends/imap/watch.rs View File

@@ -37,6 +37,7 @@ macro_rules! exit_on_error {
$(if let Err(e) = $result {
debug!("failure: {}", e.to_string());
$work_context.set_status.send(($thread_id, e.to_string())).unwrap();
$work_context.finished.send($thread_id).unwrap();
$sender.send(RefreshEvent {
hash: $folder_hash,
kind: RefreshEventKind::Failure(e.clone()),


Loading…
Cancel
Save