aboutsummaryrefslogtreecommitdiffstats
path: root/src/before_exit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/before_exit.cpp')
-rw-r--r--src/before_exit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/before_exit.cpp b/src/before_exit.cpp
index caf61db1..be655616 100644
--- a/src/before_exit.cpp
+++ b/src/before_exit.cpp
@@ -33,10 +33,10 @@
*
*/
void before_exit() {
- SPDLOG_INFO("called");
-
+#ifdef WINDOWS
// Under VisualStudio, this must be called before main finishes to workaround
// a known VS issue
spdlog::drop_all();
spdlog::shutdown();
+#endif
}