Kill parent on OS X.
This commit is contained in:
@@ -345,6 +345,9 @@ static void child_process()
|
|||||||
|
|
||||||
#if defined(DARWIN)
|
#if defined(DARWIN)
|
||||||
InformUserOfCrash( sCrashInfoPath );
|
InformUserOfCrash( sCrashInfoPath );
|
||||||
|
|
||||||
|
/* Forcibly kill our parent. */
|
||||||
|
kill( getppid(), SIGKILL );
|
||||||
#else
|
#else
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"\n"
|
"\n"
|
||||||
@@ -358,9 +361,6 @@ static void child_process()
|
|||||||
"\n"
|
"\n"
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Forcibly kill our parent. */
|
|
||||||
// kill( getppid(), SIGKILL );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user