mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-23 16:15:33 +00:00
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
This commit is contained in:
parent
60b5f7c7e9
commit
7546209ddd
|
@ -363,11 +363,14 @@ bool ExceptionHandler::WriteMinidumpWithException(int exception_type,
|
||||||
// decide if this should be sent.
|
// decide if this should be sent.
|
||||||
if (filter_ && !filter_(callback_context_))
|
if (filter_ && !filter_(callback_context_))
|
||||||
return false;
|
return false;
|
||||||
return crash_generation_client_->RequestDumpForException(
|
result = crash_generation_client_->RequestDumpForException(
|
||||||
exception_type,
|
exception_type,
|
||||||
exception_code,
|
exception_code,
|
||||||
exception_subcode,
|
exception_subcode,
|
||||||
thread_name);
|
thread_name);
|
||||||
|
if (result && exit_after_write) {
|
||||||
|
_exit(exception_type);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue