mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-13 05:07:23 +08:00
fix gui memory leak (#768)
* upgrade primevue * use card instead of panel
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
use std::{
|
||||
collections::BTreeSet,
|
||||
fmt::Debug,
|
||||
hash::RandomState,
|
||||
net::Ipv4Addr,
|
||||
sync::{
|
||||
atomic::{AtomicBool, AtomicU32, Ordering},
|
||||
@@ -667,7 +668,7 @@ impl RouteTable {
|
||||
if *cost == 0 {
|
||||
continue;
|
||||
}
|
||||
let mut all_paths = all_simple_paths::<Vec<_>, _>(
|
||||
let mut all_paths = all_simple_paths::<Vec<_>, _, RandomState>(
|
||||
graph,
|
||||
*idx_map.get(&my_peer_id).unwrap(),
|
||||
*node_idx,
|
||||
|
||||
Reference in New Issue
Block a user