mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 10:45:30 +00:00
aquatic_ws: in remove_inactive_connections, run shrink_to_fit on map
This commit is contained in:
parent
e4bdfd06fb
commit
de06931242
2 changed files with 2 additions and 1 deletions
|
|
@ -98,6 +98,8 @@ pub fn remove_inactive_connections(
|
|||
true
|
||||
}
|
||||
});
|
||||
|
||||
connections.shrink_to_fit();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue