From c508a338d3d8d3403f0981c5cc90fb633132fe31 Mon Sep 17 00:00:00 2001 From: wutno Date: Thu, 3 Oct 2024 18:59:29 -0400 Subject: [PATCH] Flush logger before waiting for input on Windows --- main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cpp b/main.cpp index 4a1aa4b..e5215e2 100755 --- a/main.cpp +++ b/main.cpp @@ -65,6 +65,7 @@ const char *helptext = void WaitForInput() { #ifdef _WIN32 + g_logger->flush(); std::cout << "Press any key to close the application..."; std::cin.get(); #endif