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