mirror of
https://github.com/kunkunsh/kunkun-ext-neohtop.git
synced 2025-04-04 09:46:43 +00:00
Merge pull request #94 from Abdenasser/fix-networks
fixes 0 network tx/rx reported on windows and linux
This commit is contained in:
commit
dbd201d328
@ -120,9 +120,8 @@ async fn get_processes(
|
||||
.lock()
|
||||
.map_err(|_| "Failed to lock system state")?;
|
||||
sys.refresh_all();
|
||||
sys.refresh_networks();
|
||||
sys.refresh_networks_list();
|
||||
sys.refresh_disks_list();
|
||||
sys.refresh_disks();
|
||||
|
||||
// Collect all the process data we need while holding sys lock
|
||||
processes_data = sys
|
||||
|
Loading…
x
Reference in New Issue
Block a user