Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Don't open files unescessary in dev builds
Mikayla4d6dfa319d5d
diff --git a/crates/client/src/telemetry.rs b/crates/client/src/telemetry.rsindex ee001614400..ca717c9d6a6 100644--- a/crates/client/src/telemetry.rs+++ b/crates/client/src/telemetry.rs@@ -14,6 +14,7 @@ use sysinfo::{};use tempfile::NamedTempFile;use util::http::HttpClient;+#[cfg(not(debug_assertions))]use util::ResultExt;use util::{channel::ReleaseChannel, TryFutureExt};@@ -168,6 +169,7 @@ impl Telemetry {event_coalescer: EventCoalescer::new(),}));+ #[cfg(not(debug_assertions))]cx.background_executor().spawn({let state = state.clone();