mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
SpdLog: flush the tools logger
Must manually kill the pointer on shutdown to flush it since this one is allocated by us and thus not managed by SpdLog.
This commit is contained in:
parent
3fa0f25616
commit
a809816f70
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user