aquatic_ws: in remove_inactive_connections, run shrink_to_fit on map

This commit is contained in:
Joakim Frostegård 2020-05-12 15:24:57 +02:00
parent e4bdfd06fb
commit de06931242
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -98,6 +98,8 @@ pub fn remove_inactive_connections(
true
}
});
connections.shrink_to_fit();
}