Don't care if the conclude message doesn't go through.

This commit is contained in:
2019-12-17 09:42:17 -08:00
parent f952286388
commit ac9012a2c5

View File

@@ -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;
} }
} }