Don't care if the conclude message doesn't go through.
This commit is contained in:
@@ -18,7 +18,7 @@ impl<T> Sender<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn conclude(&mut self) {
|
pub fn conclude(&mut self) {
|
||||||
self.underlying.send(None).expect("Failed to close channel.");
|
let _ = self.underlying.send(None);
|
||||||
self.done = true;
|
self.done = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user