Flush output
This commit is contained in:
parent
ddfd65cad4
commit
e75c21be71
@ -415,6 +415,7 @@ namespace Components
|
||||
void Console::StdOutPrint(const char* message)
|
||||
{
|
||||
printf("%s", message);
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
void Console::StdOutError(const char* format, ...)
|
||||
@ -427,6 +428,7 @@ namespace Components
|
||||
va_end(ap);
|
||||
|
||||
perror(buffer);
|
||||
fflush(stderr);
|
||||
|
||||
ExitProcess(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user