mirror of https://github.com/gabime/spdlog.git
Fix for false-positive memory leak when using leak detection methods (such as CRT dump memory leaks).
Since we cannot rely on static de-initialisation for freeing the registry::s_instance, this is now lazily allocated instead and freed during spdlog::shutdown() function. In my test case, saves ~15 reported memory leaks.pull/2929/head
parent
ddce42155e
commit
0361ecf18c
Loading…
Reference in New Issue