From 0944adf54699752897f0bbac2251264da22036c2 Mon Sep 17 00:00:00 2001 From: Rusty Rain Date: Sat, 13 Nov 2021 14:32:06 -0800 Subject: [PATCH] add close handling for endpoint --- src/mux/endpoint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mux/endpoint.rs b/src/mux/endpoint.rs index 587252a65..d85b5749a 100644 --- a/src/mux/endpoint.rs +++ b/src/mux/endpoint.rs @@ -67,6 +67,6 @@ impl Conn for Endpoint { } async fn close(&self) -> Result<()> { - Ok(()) + self.next_conn.close().await } }