Browse Source

imap: send 'finished' signal when watch thread dies

tags/pre-alpha-0.4.0^0
Manos Pitsidianakis 2 weeks ago
parent
commit
3dc0cb1963
No known key found for this signature in database
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