diff --git a/src/core/logdef.cpp b/src/core/logdef.cpp index 2adb7f44..b55303f1 100644 --- a/src/core/logdef.cpp +++ b/src/core/logdef.cpp @@ -110,4 +110,8 @@ void SpdLog_Init(const bool bAnsiColor) void SpdLog_Shutdown() { spdlog::shutdown(); +#ifdef _TOOLS + // Destroy the tools logger to flush it. + g_SuppementalToolsLogger.reset(); +#endif // !_TOOLS }