mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 18:24:36 +00:00
release dashmap memory (#1485)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user