logging: call exit() in LOG_Message()

Call exit() in LOG_Message() after printing a fatal message to allow the
LOG macro or LOG_Message() to be used directly instead of the LOG_FATAL
macro.
This commit is contained in:
Miroslav Lichvar
2019-10-10 15:07:10 +02:00
parent 990f8cd89b
commit f4c6a00b2a
2 changed files with 3 additions and 4 deletions

View File

@@ -169,6 +169,7 @@ void LOG_Message(LOG_Severity severity,
system_log = 0;
log_message(1, severity, buf);
}
exit(1);
break;
default:
assert(0);