mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-11-25 10:10:41 -06:00
add low level close
This commit is contained in:
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")))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user