Use abort instead of exit.
author <shinichiro.hamaji@gmail.com> <>
Fri, 17 Oct 2008 11:54:23 +0000 (11:54 +0000)
committer <shinichiro.hamaji@gmail.com> <>
Fri, 17 Oct 2008 11:54:23 +0000 (11:54 +0000)
git-svn-id: https://google-glog.googlecode.com/svn/trunk@9 eb4d4688-79bd-11dd-afb4-1d65580434c0

src/utilities.cc

index a28e104..bbf47da 100644 (file)
@@ -94,7 +94,7 @@ static void DumpStackTrace(int skip_count, DebugWriter *writerfn, void *arg) {
 
 static void DumpStackTraceAndExit() {
   DumpStackTrace(1, DebugWriteToStderr, NULL);
-  exit(1);
+  abort();
 }
 #endif