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

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,