Kill our parent first.

This commit is contained in:
Steve Checkoway
2005-06-19 07:28:59 +00:00
parent 904bb8e246
commit 0bc5c2ede4
@@ -341,10 +341,9 @@ static void child_process()
fclose(CrashDump);
#if defined(DARWIN)
InformUserOfCrash( sCrashInfoPath );
/* Forcibly kill our parent. */
kill( getppid(), SIGKILL );
InformUserOfCrash( sCrashInfoPath );
#else
/* stdout may have been inadvertently closed by the crash in the parent;
* write to /dev/tty instead. */