fix backtrace bug

This commit is contained in:
fortrue 2018-01-19 16:43:28 +08:00
parent 3a5239dd18
commit b9a468dc97

View File

@ -26,10 +26,10 @@ static bool Stop = false;
static void abortHandler(int sig)
{
Abort = true;
if (sig == SIGABRT) {
if (!Abort) {
traceInfo();
}
Abort = true;
if (!Running) {
abort();
}