aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harrison <adamharrison@google.com>2017-11-02 15:31:36 -0700
committerMark Mentovai <mark@chromium.org>2017-11-03 02:53:56 +0000
commit550c6227bbd46d364495240913900248e9d7be44 (patch)
tree52f896fdba92c15cf979cf28ac6463ac681d0715
parentRevert "Create LongStringDictionary and replace SimpleStringDictionary usages... (diff)
downloadbreakpad-550c6227bbd46d364495240913900248e9d7be44.tar.xz
Don’t set exit_after_write to false for tvOS.
On tvOS, the app fails to shutdown after write. Allow exit_after_write to be false for tvOS in order to force an exit() after write. Change-Id: Ib2e1e1d03264a2972f5607b3070f4a6287aa0a98 Reviewed-on: https://chromium-review.googlesource.com/752071 Reviewed-by: Mark Mentovai <mark@chromium.org>
-rw-r--r--src/client/ios/exception_handler_no_mach.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/ios/exception_handler_no_mach.cc b/src/client/ios/exception_handler_no_mach.cc
index 32723fc3..23f246e9 100644
--- a/src/client/ios/exception_handler_no_mach.cc
+++ b/src/client/ios/exception_handler_no_mach.cc
@@ -124,7 +124,9 @@ bool ExceptionHandler::WriteMinidumpWithException(
bool report_current_thread) {
bool result = false;
+#if !TARGET_OS_TV
exit_after_write = false;
+#endif // !TARGET_OS_TV
if (directCallback_) {
if (directCallback_(callback_context_,