Disable stack dumping on MAC.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 24 Feb 2014 03:48:11 +0000 (11:48 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 24 Feb 2014 03:48:11 +0000 (11:48 +0800)
It would prevent the system crash reporter.

app/atom_main_delegate.cc

index 5a529b2..e50ae1c 100644 (file)
@@ -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