fix colliding net connections
This commit is contained in:
parent
cd892d077a
commit
0e7f3e1c3c
@ -232,7 +232,8 @@ impl ConnectionManager {
|
|||||||
});
|
});
|
||||||
// Wait for the killed connections to end their recv loops
|
// Wait for the killed connections to end their recv loops
|
||||||
let did_kill = !killed.is_empty();
|
let did_kill = !killed.is_empty();
|
||||||
for k in killed {
|
for mut k in killed {
|
||||||
|
k.close();
|
||||||
k.await;
|
k.await;
|
||||||
}
|
}
|
||||||
did_kill
|
did_kill
|
||||||
|
Loading…
Reference in New Issue
Block a user