diff options
Diffstat (limited to 'src/client/mac/crash_generation/crash_generation_client.cc')
-rw-r--r-- | src/client/mac/crash_generation/crash_generation_client.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/mac/crash_generation/crash_generation_client.cc b/src/client/mac/crash_generation/crash_generation_client.cc index 07428876..ceeb3b32 100644 --- a/src/client/mac/crash_generation/crash_generation_client.cc +++ b/src/client/mac/crash_generation/crash_generation_client.cc @@ -54,7 +54,7 @@ bool CrashGenerationClient::RequestDumpForException( info.exception_code = exception_code; info.exception_subcode = exception_subcode; message.SetData(&info, sizeof(info)); - + const mach_msg_timeout_t kSendTimeoutMs = 2 * 1000; kern_return_t result = sender_.SendMessage(message, kSendTimeoutMs); if (result != KERN_SUCCESS) @@ -66,7 +66,6 @@ bool CrashGenerationClient::RequestDumpForException( MachReceiveMessage acknowledge_message; result = acknowledge_port.WaitForMessage(&acknowledge_message, kReceiveTimeoutMs); - return result == KERN_SUCCESS; } |