Kill our parent first.
This commit is contained in:
@@ -341,10 +341,9 @@ static void child_process()
|
|||||||
fclose(CrashDump);
|
fclose(CrashDump);
|
||||||
|
|
||||||
#if defined(DARWIN)
|
#if defined(DARWIN)
|
||||||
InformUserOfCrash( sCrashInfoPath );
|
|
||||||
|
|
||||||
/* Forcibly kill our parent. */
|
/* Forcibly kill our parent. */
|
||||||
kill( getppid(), SIGKILL );
|
kill( getppid(), SIGKILL );
|
||||||
|
InformUserOfCrash( sCrashInfoPath );
|
||||||
#else
|
#else
|
||||||
/* stdout may have been inadvertently closed by the crash in the parent;
|
/* stdout may have been inadvertently closed by the crash in the parent;
|
||||||
* write to /dev/tty instead. */
|
* write to /dev/tty instead. */
|
||||||
|
|||||||
Reference in New Issue
Block a user