diff options
author | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-03-06 20:14:32 +0000 |
---|---|---|
committer | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-03-06 20:14:32 +0000 |
commit | 7546209ddd7711a29a82cdc3a01a118f9bc29677 (patch) | |
tree | 9da29a07dec77c734723e4032a17e34b7c71e117 /src | |
parent | Keeping track of modules without symbols during crash report processing. (diff) | |
download | breakpad-7546209ddd7711a29a82cdc3a01a118f9bc29677.tar.xz |
Make OOP mac crashreporting exit after writing dump
R=mark at https://breakpad.appspot.com/538002/
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1127 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src')
-rw-r--r-- | src/client/mac/handler/exception_handler.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/mac/handler/exception_handler.cc b/src/client/mac/handler/exception_handler.cc index ca1d165e..68623222 100644 --- a/src/client/mac/handler/exception_handler.cc +++ b/src/client/mac/handler/exception_handler.cc @@ -363,11 +363,14 @@ bool ExceptionHandler::WriteMinidumpWithException(int exception_type, // decide if this should be sent. if (filter_ && !filter_(callback_context_)) return false; - return crash_generation_client_->RequestDumpForException( + result = crash_generation_client_->RequestDumpForException( exception_type, exception_code, exception_subcode, thread_name); + if (result && exit_after_write) { + _exit(exception_type); + } } #endif } else { |