From 9d66798c3924dfc97806a21e892df87341f09307 Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Fri, 1 Nov 2024 15:59:22 +0100 Subject: [PATCH] Update examples/examples/jsonrpsee_server_close_connection_from_rpc_handler.rs --- .../jsonrpsee_server_close_connection_from_rpc_handler.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/examples/jsonrpsee_server_close_connection_from_rpc_handler.rs b/examples/examples/jsonrpsee_server_close_connection_from_rpc_handler.rs index aebdd26b0b..d20503e8d3 100644 --- a/examples/examples/jsonrpsee_server_close_connection_from_rpc_handler.rs +++ b/examples/examples/jsonrpsee_server_close_connection_from_rpc_handler.rs @@ -177,7 +177,6 @@ async fn run_server() -> anyhow::Result { let rpc_service = RpcServiceBuilder::new(); // Establishes the websocket connection - // then the connection is closed i.e, the `conn_fut` is dropped. async move { match ws::connect(req, ServerConfig::default(), methods, conn, rpc_service).await { Ok((rp, conn_fut)) => {