Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

crashes: Abort after reporting Windows panics (#63157)

Lukas Wirthfa8d0b7751af
diff --git a/crates/crashes/src/crashes.rs b/crates/crashes/src/crashes.rs
index 959c676b4e9..b6ca75d5d17 100644
--- a/crates/crashes/src/crashes.rs
+++ b/crates/crashes/src/crashes.rs
@@ -539,10 +539,7 @@ pub fn panic_hook(crash_client: Arc<Client>, message: &str, location: Option<&Lo
// https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-
CrashHandler.simulate_exception(Some(234)); // (MORE_DATA_AVAILABLE)
}
- #[cfg(not(target_os = "windows"))]
- {
- std::process::abort();
- }
+ std::process::abort();
}
#[cfg(target_os = "macos")]