aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/logging/crashhandler.cpp
diff options
context:
space:
mode:
authorunknown <for.oliver.kirkham@gmail.com>2023-02-14 14:16:35 +0000
committerunknown <for.oliver.kirkham@gmail.com>2023-02-14 14:16:35 +0000
commitb66871c8c826058e5da2d5ab3ecf1cdca1cdf9fc (patch)
treecedb12739f00611df7ea0186377de079f62624d9 /NorthstarDLL/logging/crashhandler.cpp
parent263af88bb67349b5193dea6dac33664fc70bfede (diff)
parent95b41b6f8cc612953eafd7f8b6b40124e1590bc7 (diff)
downloadNorthstarLauncher-b66871c8c826058e5da2d5ab3ecf1cdca1cdf9fc.tar.gz
NorthstarLauncher-b66871c8c826058e5da2d5ab3ecf1cdca1cdf9fc.zip
Merge remote-tracking branch 'origin/main' into functionat-pr
Diffstat (limited to 'NorthstarDLL/logging/crashhandler.cpp')
-rw-r--r--NorthstarDLL/logging/crashhandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDLL/logging/crashhandler.cpp b/NorthstarDLL/logging/crashhandler.cpp
index d4a54169..1e9bf4b3 100644
--- a/NorthstarDLL/logging/crashhandler.cpp
+++ b/NorthstarDLL/logging/crashhandler.cpp
@@ -72,6 +72,8 @@ void PrintExceptionLog(ExceptionLog& exc)
"Northstar has crashed! Crash info can be found in R2Northstar/logs",
"Northstar has crashed!",
MB_ICONERROR | MB_OK | MB_SYSTEMMODAL);
+
+ NS::log::FlushLoggers();
}
std::string GetExceptionName(ExceptionLog& exc)