Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix incorrect memory display in the language servers menu on Linux (#48245)
feeiyu6600154f44d4
diff --git a/crates/language_tools/src/lsp_button.rs b/crates/language_tools/src/lsp_button.rsindex 9dc97080c0c..77d58349a2b 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());