diff options
author | Saturneric <[email protected]> | 2023-02-06 13:22:53 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2023-02-06 13:23:04 +0000 |
commit | 75cbfbe1af1590bd080e275a301892f3cba28725 (patch) | |
tree | b5bff4f12e24724c595507425e4dd6cee2b3c94b | |
parent | feat: support buddled gnupg for posix platform (diff) | |
download | GpgFrontend-75cbfbe1af1590bd080e275a301892f3cba28725.tar.gz GpgFrontend-75cbfbe1af1590bd080e275a301892f3cba28725.zip |
fix: solve an endless loop issue caused by logging system
-rw-r--r-- | src/before_exit.cpp | 4 |
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 } |