mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-24 22:30:25 -04:00
add low level close
This commit is contained in:
parent
23f47be357
commit
c70c260bb8
1 changed files with 6 additions and 0 deletions
|
@ -401,6 +401,12 @@ impl NetworkConnection {
|
||||||
connection_manager
|
connection_manager
|
||||||
.report_connection_finished(connection_id)
|
.report_connection_finished(connection_id)
|
||||||
.await;
|
.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")))
|
}.instrument(trace_span!("process_connection")))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue