mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-03 20:24:16 -04:00
fix colliding net connections
This commit is contained in:
parent
cd892d077a
commit
0e7f3e1c3c
1 changed files with 2 additions and 1 deletions
|
@ -232,7 +232,8 @@ impl ConnectionManager {
|
|||
});
|
||||
// Wait for the killed connections to end their recv loops
|
||||
let did_kill = !killed.is_empty();
|
||||
for k in killed {
|
||||
for mut k in killed {
|
||||
k.close();
|
||||
k.await;
|
||||
}
|
||||
did_kill
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue