From ac9012a2c54d4d4f80fb58253a1d4a78f1d0e925 Mon Sep 17 00:00:00 2001 From: Adam Wick Date: Tue, 17 Dec 2019 09:42:17 -0800 Subject: [PATCH] Don't care if the conclude message doesn't go through. --- src/endchannel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endchannel.rs b/src/endchannel.rs index a88c5a7..6f4016b 100644 --- a/src/endchannel.rs +++ b/src/endchannel.rs @@ -18,7 +18,7 @@ impl Sender { } pub fn conclude(&mut self) { - self.underlying.send(None).expect("Failed to close channel."); + let _ = self.underlying.send(None); self.done = true; } }