From: Cheng Zhao Date: Mon, 24 Feb 2014 03:48:11 +0000 (+0800) Subject: Disable stack dumping on MAC. X-Git-Tag: v0.10.0~4^2~3 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=99c0de6a1afd5f7795be0f85974dbd38c8a98b9c;p=electron.git Disable stack dumping on MAC. It would prevent the system crash reporter. --- 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