fix gui memory leak (#768)

* upgrade primevue
* use card instead of panel
This commit is contained in:
Sijie.Sun
2025-04-10 10:02:04 +08:00
committed by GitHub
parent 01e3ad99ca
commit 75f7865769
8 changed files with 189 additions and 153 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ async-recursion = "1.0.5"
network-interface = "2.0"
# for ospf route
petgraph = "0.7.1"
petgraph = "0.8.1"
# for wireguard
boringtun = { package = "boringtun-easytier", version = "0.6.1", optional = true }
+2 -1
View File
@@ -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,