Remove ping/unwrap from crash handler (#39870)

Release Notes:

- N/A

---------

Co-authored-by: Julia Ryan <juliaryan3.14@gmail.com>
This commit is contained in:
Conrad Irwin
2025-10-14 16:32:25 +00:00
committed by GitHub
co-authored by Julia Ryan
parent 9d23527663
commit ce696c18ed
+4 -1
View File
@@ -92,7 +92,10 @@ pub async fn init(crash_init: InitCrashHandler) {
#[cfg(target_os = "macos")]
suspend_all_other_threads();
client.ping().unwrap();
// on macos this "ping" is needed to ensure that all our
// `client.send_message` calls have been processed before we trigger the
// minidump request.
client.ping().ok();
client.request_dump(crash_context).is_ok()
} else {
true