From 99c0de6a1afd5f7795be0f85974dbd38c8a98b9c Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 24 Feb 2014 11:48:11 +0800 Subject: [PATCH] Disable stack dumping on MAC. It would prevent the system crash reporter. --- app/atom_main_delegate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/atom_main_delegate.cc b/app/atom_main_delegate.cc index 5a529b26..e50ae1c1 100644 --- a/app/atom_main_delegate.cc +++ b/app/atom_main_delegate.cc @@ -42,7 +42,7 @@ bool AtomMainDelegate::BasicStartupComplete(int* exit_code) { logging::SetLogItems(true, false, true, false); // Enable convient stack printing. -#if defined(DEBUG) +#if defined(DEBUG) && !defined(OS_MACOSX) base::debug::EnableInProcessStackDumping(); #endif -- 2.43.0