diff --git a/crates/crashes/src/crashes.rs b/crates/crashes/src/crashes.rs index 4c8c6ec45e621862115ef6441857ada4e2b634ad..4a45961970cf009ef2a47d5562c1df1792a90aec 100644 --- a/crates/crashes/src/crashes.rs +++ b/crates/crashes/src/crashes.rs @@ -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