Ignore errors comming from crossbeam channel senders

This commit is contained in:
many 2021-08-26 11:01:30 +02:00
parent e09eec37bc
commit 8f702828ca
No known key found for this signature in database
GPG key ID: 2CEF23B75189EACA
3 changed files with 19 additions and 19 deletions

View file

@ -268,7 +268,7 @@ impl<'t, 'u, 'i, 'a> IndexDocuments<'t, 'u, 'i, 'a> {
});
if let Err(e) = result {
lmdb_writer_sx.send(Err(e)).unwrap();
let _ = lmdb_writer_sx.send(Err(e));
}
// needs to be droped to avoid channel waiting lock.