slightly cleaner shutdown after crash
This commit is contained in:
@@ -448,8 +448,9 @@ void CrashSignalHandler( int signal )
|
|||||||
close(fds[0]);
|
close(fds[0]);
|
||||||
parent_process( fds[1], BacktracePointers, signal );
|
parent_process( fds[1], BacktracePointers, signal );
|
||||||
waitpid(pid, NULL, 0);
|
waitpid(pid, NULL, 0);
|
||||||
/* Now that we're done, actually kill all threads. */
|
/* Now that we're done, actually kill all threads. kill(0) should kill ourself
|
||||||
RageThread::HaltAllThreads( true );
|
* and all other threads. */
|
||||||
|
kill( 0, SIGKILL );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user