mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +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
1
TODO.md
1
TODO.md
|
|
@ -4,7 +4,6 @@
|
|||
* network
|
||||
* native_tls for wss support
|
||||
* handshake: deregister stream when applicable
|
||||
* connection cleaning: shrink to fit
|
||||
* test
|
||||
* test full torrent transfer (offer-answer exchange)
|
||||
* torrent state cleaning
|
||||
|
|
|
|||
|
|
@ -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