| 109 | } |
| 110 | |
| 111 | void Application::Exit(int rc) |
| 112 | { |
| 113 | std::cout.flush(); |
| 114 | std::cerr.flush(); |
| 115 | |
| 116 | for (const Logger::Ptr& logger : Logger::GetLoggers()) { |
| 117 | logger->Flush(); |
| 118 | } |
| 119 | |
| 120 | UninitializeBase(); |
| 121 | _exit(rc); // Yay, our static destructors are pretty much beyond repair at this point. |
| 122 | } |
| 123 | |
| 124 | void Application::InitializeBase() |
| 125 | { |
no test coverage detected