From 550c6227bbd46d364495240913900248e9d7be44 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Thu, 2 Nov 2017 15:31:36 -0700 Subject: =?UTF-8?q?Don=E2=80=99t=20set=20exit=5Fafter=5Fwrite=20to=20false?= =?UTF-8?q?=20for=20tvOS.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/client/ios/exception_handler_no_mach.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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_, -- cgit v1.2.1