1
0

SIGABRT exits with failure.

This commit is contained in:
Tiger Wang 2014-01-27 18:57:14 +00:00
parent 30c431b479
commit fc9e527830

View File

@ -69,6 +69,7 @@ void NonCtrlHandler(int a_Signal)
std::signal(a_Signal, SIG_DFL);
LOGERROR(" D: | MCServer has encountered an error and needs to close");
LOGERROR("Details | SIGABRT: Server self-terminated due to an internal fault");
exit(EXIT_FAILURE);
break;
}
case SIGINT: