From a8626a2df448cc4215046466146001bd8101f77a Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 5 Apr 2004 08:06:49 +0000 Subject: [PATCH] Kill parent on OS X. --- stepmania/src/archutils/Unix/CrashHandlerChild.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/archutils/Unix/CrashHandlerChild.cpp b/stepmania/src/archutils/Unix/CrashHandlerChild.cpp index 194ff8d936..dae7a49f0a 100644 --- a/stepmania/src/archutils/Unix/CrashHandlerChild.cpp +++ b/stepmania/src/archutils/Unix/CrashHandlerChild.cpp @@ -345,6 +345,9 @@ static void child_process() #if defined(DARWIN) InformUserOfCrash( sCrashInfoPath ); + + /* Forcibly kill our parent. */ + kill( getppid(), SIGKILL ); #else fprintf(stderr, "\n" @@ -358,9 +361,6 @@ static void child_process() "\n" ); #endif - - /* Forcibly kill our parent. */ - // kill( getppid(), SIGKILL ); }