Skip to content

Commit

Permalink
add close handling for endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
rainliu committed Nov 13, 2021
1 parent 91669be commit 0944adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mux/endpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ impl Conn for Endpoint {
}

async fn close(&self) -> Result<()> {
Ok(())
self.next_conn.close().await
}
}

0 comments on commit 0944adf

Please sign in to comment.