diff --git a/crates/language_tools/src/lsp_button.rs b/crates/language_tools/src/lsp_button.rs index 9dc97080c0c3f5bc28ff862851e9c95d687c48aa..77d58349a2b910aa58efeed7cbc8bdc840da3808 100644 --- a/crates/language_tools/src/lsp_button.rs +++ b/crates/language_tools/src/lsp_button.rs @@ -89,8 +89,8 @@ impl ProcessMemoryCache { .unwrap_or(true); if cache_expired { - let refresh_kind = - RefreshKind::nothing().with_processes(ProcessRefreshKind::nothing().with_memory()); + let refresh_kind = RefreshKind::nothing() + .with_processes(ProcessRefreshKind::nothing().without_tasks().with_memory()); self.system.refresh_specifics(refresh_kind); self.memory_usage.clear(); self.last_refresh = Some(Instant::now());