Skip to content

Commit

Permalink
Merge pull request #94 from Abdenasser/fix-networks
Browse files Browse the repository at this point in the history
fixes 0 network tx/rx reported on windows and linux
  • Loading branch information
Abdenasser authored Nov 10, 2024
2 parents afec398 + 925e4e0 commit dbd201d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dbd201d

Please sign in to comment.