1
0
mirror of https://gitlab.com/veilid/veilid.git synced 2025-04-21 08:06:41 -04:00

add low level close

This commit is contained in:
John Smith 2023-10-23 21:22:00 -04:00 committed by Christien Rioux
parent 23f47be357
commit c70c260bb8

@ -401,6 +401,12 @@ impl NetworkConnection {
connection_manager
.report_connection_finished(connection_id)
.await;
// Close the low level socket
if let Err(e) = protocol_connection.close().await {
log_net!(debug "Protocol connection close error: {}", e);
}
}.instrument(trace_span!("process_connection")))
}