release dashmap memory (#1485)

This commit is contained in:
Sijie.Sun
2025-10-18 12:48:04 +08:00
committed by GitHub
parent 8f1786fa23
commit cc8f35787e
29 changed files with 339 additions and 187 deletions
+2 -1
View File
@@ -16,7 +16,7 @@ use crate::{
common::{
config::NetworkIdentity,
global_ctx::{ArcGlobalCtx, GlobalCtxEvent},
join_joinset_background,
join_joinset_background, shrink_dashmap,
},
peers::{peer_manager::PeerManager, PeerPacketFilter},
tunnel::{
@@ -144,6 +144,7 @@ impl WireGuardImpl {
"The wg client changed its endpoint address, not removing from table"
),
}
shrink_dashmap(&wg_peer_ip_table, None);
}
peer_mgr