Flush stderr in Application::Exit

fixes #8734
This commit is contained in:
Gunnar Beutner 2015-03-20 12:27:40 +01:00
parent bcc6b8258c
commit 4e680e6d58
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ Application::~Application(void)
void Application::Exit(int rc) void Application::Exit(int rc)
{ {
std::cout.flush(); std::cout.flush();
std::cerr.flush();
BOOST_FOREACH(const Logger::Ptr& logger, Logger::GetLoggers()) { BOOST_FOREACH(const Logger::Ptr& logger, Logger::GetLoggers()) {
logger->Flush(); logger->Flush();